GitHub actions: fix gofmt check
This commit is contained in:
parent
11dacf4264
commit
38d36b6619
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
|
||||
- name: Ensure all files were formatted as per gofmt
|
||||
run: |
|
||||
gofmt -l $(find . -name '*.go') >/dev/null
|
||||
[ "$(gofmt -l $(find . -name '*.go'))" = "" ]
|
||||
|
||||
- name: run tests
|
||||
run: go test ./...
|
||||
|
Loading…
x
Reference in New Issue
Block a user