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 uses: actions/setup-go@v3
with: with:
go-version: 1.18.x go-version: 1.18.x
- name: Install linter - uses: dominikh/staticcheck-action@a3513ade2e5cb8075ba1c1ed1890a989cf0f2aa0 #v1.2.0
run: | with:
go get -u golang.org/x/lint/golint version: "2022.1.1"
- name: Lint files install-go: "false" # StaticCheck uses go v1.17 which does not support `any`
run: |
golint -set_exit_status ./...
test: test:
name: Test name: Test

Loading…
Cancel
Save