File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ jobs:
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 if : matrix.os == 'ubuntu-latest'
26- - 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 ./..."
30- - run : " go install honnef.co/go/tools/cmd/staticcheck@latest"
3130 - name : staticcheck
31+ - run : " go install honnef.co/go/tools/cmd/staticcheck@latest"
3232 run : " staticcheck ./..."
Original file line number Diff line number Diff line change 1- name : linting
1+ name : unit-tests
22
33on : ["push", "pull_request"]
44
You can’t perform that action at this time.
0 commit comments