File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,12 @@ 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 - name : " imports"
26- run : " go install golang.org/x/tools/cmd/goimports@latest"
27- run : if [ "$(goimports -l . | wc -l)" -gt 0 ]; then echo "goimports failed, please run again locally"; exit 1; fi
26+ run : |
27+ "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
2829 - name : " vet"
2930 run : " go vet ./..."
3031 - name : staticcheck
31- run : " go install honnef.co/go/tools/cmd/staticcheck@latest"
32- run : " staticcheck ./..."
32+ run : |
33+ "go install honnef.co/go/tools/cmd/staticcheck@latest"
34+ "staticcheck ./..."
You can’t perform that action at this time.
0 commit comments