Skip to content

Commit

Permalink
added staticcheck to main test wflow (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt authored Dec 18, 2020
1 parent b3bfcf2 commit 563fa09
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,17 @@ jobs:
- run: go test -cover ./...
env:
CGO_ENABLED: 0

staticcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.14
- name: Staticcheck
run: |
go get -u honnef.co/go/tools/cmd/staticcheck
staticcheck ./...
env:
CGO_ENABLED: 0

0 comments on commit 563fa09

Please sign in to comment.