Skip to content

[release-1.22] cleanup: upgrade golint version and fix golint errors #3831

[release-1.22] cleanup: upgrade golint version and fix golint errors

[release-1.22] cleanup: upgrade golint version and fix golint errors #3831

Workflow file for this run

name: Static Checks
on:
pull_request: {}
push: {}
jobs:
go_lint:
name: Go Lint
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1.19
- uses: actions/checkout@master
- name: Run linter
uses: golangci/golangci-lint-action@v3
with:
version: v1.60
args: -E=gofmt,unused,ineffassign,revive,misspell,exportloopref,asciicheck,bodyclose,depguard,dogsled,durationcheck,errname,forbidigo -D=staticcheck --timeout=30m0s