Skip to content

chore: upgrade golangci-lint to version 2 #1960

chore: upgrade golangci-lint to version 2

chore: upgrade golangci-lint to version 2 #1960

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@v5
with:
go-version: ^1.25
- uses: actions/checkout@master
- name: Run linter
uses: golangci/golangci-lint-action@v8
with:
version: v2.4
args: -E=gofmt,unused,ineffassign,revive,misspell,copyloopvar,asciicheck,bodyclose,contextcheck,dogsled,durationcheck,errname,forbidigo -D=staticcheck --timeout=30m0s