Install staticcheck manually

master
Denis Palnitsky 3 years ago
parent f3743f7189
commit 1aa02cc5c0
No known key found for this signature in database
GPG Key ID: 37EEC9354AA9FD30

@ -32,6 +32,14 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
fetch-depth: 1 fetch-depth: 1
- uses: dominikh/staticcheck-action@v1.2.0
- name: Set up Go
uses: actions/setup-go@v2
with: with:
version: "2022.1.1" go-version: 1.18
- uses: install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- uses: run static check
run: staticcheck ./...

Loading…
Cancel
Save