chore: fmt code in build
This commit is contained in:
1 parent
6083168ab4
commit
d7822e5d52
3 files changed
+8
-5
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user