Skip to content

Commit

Permalink
Merge pull request #861 from chiukapoor/fix-golangci
Browse files Browse the repository at this point in the history
Update and remove deprecated config in golangci lint
  • Loading branch information
chiukapoor authored Feb 18, 2025
2 parents 89c1c40 + b72aad0 commit 6faf2b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- name: Analysis
uses: golangci/golangci-lint-action@v6
with:
args: -v
skip-pkg-cache: true
13 changes: 7 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
run:
timeout: 5m
go: "1.20"
skip-files:
- "zz_generated_*"
skip-dirs:
- pkg/generated
go: "1.23"
tests: false
allow-parallel-runners: true

output:
format: github-actions
formats:
- format: github-actions

linters:
disable-all: true
Expand Down Expand Up @@ -90,3 +87,7 @@ issues:
- revive
text: "var-naming: don't use an underscore in package name"
path: 'mock(\w+)/doc.go$'
exclude-dirs:
- pkg/generated
exclude-files:
- "zz_generated_*"

0 comments on commit 6faf2b9

Please sign in to comment.