Skip to content

Commit 6bcc895

Browse files
committed
Update linting
1 parent ff9bac5 commit 6bcc895

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/linting.yml

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

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: linting
1+
name: unit-tests
22

33
on: ["push", "pull_request"]
44

0 commit comments

Comments
 (0)