Skip to content

Commit

Permalink
Add gocritic action
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfield committed Jul 22, 2023
1 parent 44a01de commit 22148f3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: golang/govulncheck-action@v1
gocritic:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/checkout@v3
- run: |
go install github.com/go-critic/go-critic/cmd/gocritic@latest
gocritic check .

0 comments on commit 22148f3

Please sign in to comment.