Skip to content

Commit 4619c4e

Browse files
committed
WIP...
1 parent acfb468 commit 4619c4e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/linting.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,20 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
steps:
1515
- name: "checkout"
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717
- name: "fetch unshallow"
1818
run: git fetch --prune --unshallow
1919
- name: Set up Go
20-
uses: actions/setup-go@v2
20+
uses: actions/setup-go@v3
2121
with:
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
2525
- name: "imports"
2626
run: |
2727
"go install golang.org/x/tools/cmd/goimports@latest"
28-
if [ "$(goimports -l . | wc -l)" -gt 0 ]; then echo "goimports failed, please run again locally"; exit 1; fi
2928
- name: "vet"
3029
run: "go vet ./..."
3130
- name: staticcheck
3231
run: |
3332
"go install honnef.co/go/tools/cmd/staticcheck@latest"
34-
"staticcheck ./..."

0 commit comments

Comments
 (0)