Skip to content

fix(ui): auto-close date-time-picker on selection and add tests #815

fix(ui): auto-close date-time-picker on selection and add tests

fix(ui): auto-close date-time-picker on selection and add tests #815

Workflow file for this run

name: Go Format
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
- "dev"
jobs:
gofmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Check Go formatting
run: |
files=$(gofmt -l ./backend)
if [[ -n "$files" ]]; then
echo "The following files are not formatted correctly:"
echo "$files"
echo "Please run 'gofmt -w .' inside the backend directory before committing."
exit 1
else
echo "All Go files are properly formatted."
fi