File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff 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 ./..."
You can’t perform that action at this time.
0 commit comments