Skip to content

Commit e94bd99

Browse files
committed
Fix linting
1 parent 6bcc895 commit e94bd99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/linting.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
go-version: ${{ matrix.go }}
2323
- name: "fmt"
2424
run: if [ "$(go fmt ./... | wc -l)" -gt 0 ]; then echo "go fmt failed, please run again locally"; exit 1; fi
25-
if: matrix.os == 'ubuntu-latest'
26-
- run: "go install honnef.co/go/tools/cmd/staticcheck@latest"
25+
- name: "imports"
26+
run: "go install honnef.co/go/tools/cmd/staticcheck@latest"
2727
run: if [ "$(goimports -l . | wc -l)" -gt 0 ]; then echo "goimports failed, please run again locally"; exit 1; fi
2828
- name: "vet"
2929
run: "go vet ./..."
3030
- name: staticcheck
31-
- run: "go install honnef.co/go/tools/cmd/staticcheck@latest"
31+
run: "go install honnef.co/go/tools/cmd/staticcheck@latest"
3232
run: "staticcheck ./..."

0 commit comments

Comments
 (0)