Skip to content

Commit

Permalink
Update golangci-lint in the hopes that it will work (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
toastwaffle authored Oct 29, 2024
1 parent a0d2fae commit d021b8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.21'
go-version: "^1.23"
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.57.2

version: v1.61.0
5 changes: 2 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ linters:
- unused
- dogsled
- dupl
- exportloopref
- copyloopvar
- gci
- gofmt
- gosimple
Expand All @@ -30,10 +30,9 @@ linters:
- wastedassign
- whitespace
- errcheck
- exportloopref
linters-settings:
gci:
sections:
- standard # Captures all standard packages if they do not match another section.
- default # Contains all imports that could not be matched to another section type.
- prefix(github.com/please-build/puku)
- prefix(github.com/please-build/puku)

0 comments on commit d021b8f

Please sign in to comment.