Skip to content

Commit 2ed6454

Browse files
committed
WIP...
1 parent 398cb40 commit 2ed6454

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/linting.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,14 @@ jobs:
2020
- name: "fetch unshallow"
2121
run: git fetch --prune --unshallow
2222
- name: Set up Go
23-
uses: actions/setup-go@v3
23+
uses: actions/setup-go@v4
2424
with:
2525
go-version: ${{ matrix.go }}
26-
- name: install linting
27-
run: |
28-
"go install golang.org/x/tools/cmd/goimports@latest"
29-
"go install honnef.co/go/tools/cmd/staticcheck@latest"
3026
- name: "fmt"
3127
run: if [ "$(go fmt ./... | wc -l)" -gt 0 ]; then echo "go fmt failed, please run again locally"; exit 1; fi
3228
- name: "imports"
3329
run: |
3430
- name: "vet"
35-
run: "go vet ./..."
31+
- run: "go install honnef.co/go/tools/cmd/staticcheck@latest"
3632
- name: staticcheck
3733
run: "staticcheck ./..."

0 commit comments

Comments
 (0)