mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
[ci] Check for proper code formatting
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
parent
6037c6009c
commit
a6b862860a
3
.github/workflows/audit.yaml
vendored
3
.github/workflows/audit.yaml
vendored
@ -24,6 +24,9 @@ jobs:
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Run gofmt
|
||||
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
|
||||
|
||||
- name: Run go vet
|
||||
run: go vet ./...
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user