We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a0ffea commit b44a48dCopy full SHA for b44a48d
.github/workflows/linting.yml
@@ -23,10 +23,14 @@ jobs:
23
uses: actions/setup-go@v3
24
with:
25
go-version: ${{ matrix.go }}
26
+ run: |
27
+ "go install golang.org/x/tools/cmd/goimports@latest"
28
+ "go install honnef.co/go/tools/cmd/staticcheck@latest"
29
- name: "fmt"
30
run: if [ "$(go fmt ./... | wc -l)" -gt 0 ]; then echo "go fmt failed, please run again locally"; exit 1; fi
31
+ - name: "imports"
32
33
- name: "vet"
34
run: "go vet ./..."
35
- name: staticcheck
- run: |
- "go install honnef.co/go/tools/cmd/staticcheck@latest"
36
+ run: "staticcheck ./..."
0 commit comments