Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
Add staticcheck as an action
  • Loading branch information
Wessie authored Feb 20, 2024
1 parent d9c884b commit 11dff07
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,18 @@ jobs:
go install github.com/matryer/moq@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Generate
run: go generate

- name: Build
run: go build -v ./...

- name: Staticcheck
run: staticcheck ./...

- name: Test
run: go test -v ./...

- name: Staticcheck
uses: dominikh/[email protected]
with:
install-go: false

0 comments on commit 11dff07

Please sign in to comment.