Skip to content

Commit b44a48d

Browse files
committed
WIP...
1 parent 5a0ffea commit b44a48d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/linting.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ jobs:
2323
uses: actions/setup-go@v3
2424
with:
2525
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"
2629
- name: "fmt"
2730
run: if [ "$(go fmt ./... | wc -l)" -gt 0 ]; then echo "go fmt failed, please run again locally"; exit 1; fi
31+
- name: "imports"
32+
run: |
2833
- name: "vet"
2934
run: "go vet ./..."
3035
- name: staticcheck
31-
run: |
32-
"go install honnef.co/go/tools/cmd/staticcheck@latest"
36+
run: "staticcheck ./..."

0 commit comments

Comments
 (0)