Skip to content

Commit

Permalink
ci: bump golangci/golangci-lint-action from 5 to 6
Browse files Browse the repository at this point in the history
Update golangci-lint to v1.58.2 as well
  • Loading branch information
marcelstanley committed Jul 8, 2024
1 parent c200b94 commit 7da7b18
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ jobs:
with:
go-version-file: 'go.mod'

- name: Run Go Linter
uses: golangci/golangci-lint-action@v6
with:
version: v1.58.2

- name: Run Go tests
working-directory: ${{ github.workspace }}
run: go test ./...
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
go-version-file: "go.mod"

- name: Run Go Linter
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
version: v1.54.2
version: v1.58.2

- name: Lint Markdown docs
uses: DavidAnson/markdownlint-cli2-action@v16
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ linters:
- goconst
- godox
- gofmt
- gomnd
- lll
- mnd
- misspell
linters-settings:
lll:
line-length: 100
tab-width: 4
gomnd:
mnd:
ignored-functions:
- "^make"

0 comments on commit 7da7b18

Please sign in to comment.