Skip to content

Commit

Permalink
deps: update golangci/golangci-lint-action action to v6.5.0 (#803)
Browse files Browse the repository at this point in the history
* deps: update golangci/golangci-lint-action action to v6.5.0
* fix golangci-lint config
* replace deprecated linters

---------

Signed-off-by: Daniel Weiße <[email protected]>
Co-authored-by: Daniel Weiße <[email protected]>
  • Loading branch information
renovate[bot] and daniel-weisse authored Feb 17, 2025
1 parent fb86b52 commit e3fca5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: golangci-lint
uses: golangci/golangci-lint-action@2e788936b09dd82dc280e845628a40d2ba6b204c # v6.3.1
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
with:
skip-cache: true
args: --timeout=30m
7 changes: 4 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ run:
modules-download-mode: readonly

output:
format: tab
formats:
- format: tab
sort-results: true

linters:
Expand All @@ -21,14 +22,14 @@ linters:
# Additional linters
- bodyclose
- errname
- exportloopref
- copyloopvar
- godot
- gofmt
- gofumpt
- misspell
- noctx
- revive
- tenv
- usetesting
- unconvert
- unparam

Expand Down

0 comments on commit e3fca5b

Please sign in to comment.