[ci] Check for proper code formatting

Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
Julian Strobl 2023-07-20 09:01:39 +02:00
parent 6037c6009c
commit a6b862860a
No known key found for this signature in database
GPG Key ID: E0A8F9AD733499A7

View File

@ -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 ./...