Skip to content

Commit

Permalink
ci: replace golint with staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel authored Nov 5, 2022
1 parent 216d8df commit 5134e15
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- name: Install linter
run: |
go get -u golang.org/x/lint/golint
- name: Lint files
run: |
golint -set_exit_status ./...
- uses: dominikh/staticcheck-action@a3513ade2e5cb8075ba1c1ed1890a989cf0f2aa0 #v1.2.0
with:
version: "2022.1.1"
install-go: "false" # StaticCheck uses go v1.17 which does not support `any`

test:
name: Test
Expand Down

0 comments on commit 5134e15

Please sign in to comment.