Skip to content

Commit

Permalink
WIP...
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Nov 15, 2024
1 parent 5a0ffea commit b44a48d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
run: |
"go install golang.org/x/tools/cmd/goimports@latest"
"go install honnef.co/go/tools/cmd/staticcheck@latest"
- name: "fmt"
run: if [ "$(go fmt ./... | wc -l)" -gt 0 ]; then echo "go fmt failed, please run again locally"; exit 1; fi
- name: "imports"
run: |
- name: "vet"
run: "go vet ./..."
- name: staticcheck
run: |
"go install honnef.co/go/tools/cmd/staticcheck@latest"
run: "staticcheck ./..."

0 comments on commit b44a48d

Please sign in to comment.