We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fc1547 commit 6b6c557Copy full SHA for 6b6c557
1 file changed
.github/workflows/ci.yml
@@ -64,14 +64,7 @@ jobs:
64
run: |
65
# Only check .go files, not go.mod or other config files
66
if ! gofmt -l *.go ./... 2>/dev/null | grep -q .; then
67
- echo "Code is properly formatted"
68
- else
69
echo "Code needs formatting"
70
gofmt -d *.go ./...
71
exit 1
72
fi
73
-
74
- - name: Install and run staticcheck
75
- run: |
76
- go install honnef.co/go/tools/cmd/staticcheck@latest
77
- staticcheck ./...
0 commit comments