Skip to content

Commit acfb468

Browse files
committed
WIP...
1 parent 935cd97 commit acfb468

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/linting.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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 ./..."

0 commit comments

Comments
 (0)