ci: replace golint with staticcheck

pull/1458/head v1.5.0
nils måsén 2 years ago committed by GitHub
parent 216d8df0e7
commit 5134e159e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save