chore: fmt code in build

This commit is contained in:
Meng Zhuo
2026-02-14 09:47:55 +08:00
parent 6083168ab4
commit d7822e5d52
3 changed files with 8 additions and 5 deletions

View File

@@ -15,6 +15,10 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: fmt
run: |
make fmt
git diff --exit-code || (echo "::error::Code is not formatted. Run 'make fmt' and commit the changes." && exit 1)
- name: Build
run: make build-all

View File

@@ -50,4 +50,3 @@ func TestBaseChannelIsAllowed(t *testing.T) {
})
}
}