Skip to content

Commit

Permalink
Fix golangci-lint-action (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 authored Feb 17, 2025
1 parent 14142cb commit 3ba043b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
level: warning
- name: Golangci-lint
uses: golangci/golangci-lint-action@818ec4d51a1feacefc42ff1b3ec25d4962690f39 # v6.4.1
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.4.1
with:
version: v1.64
args: --timeout 10m0s
Expand Down
10 changes: 1 addition & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
run:
go: "1.24"
timeout: 15m0s
skip-dirs-use-default: true
fast: false
timeout: 15m

linters-settings:
revive:
Expand All @@ -21,9 +19,6 @@ linters-settings:
funlen:
lines: 175
statements: 85
unused:
check-exported: true
go: "1.24"
stylecheck:
dot-import-whitelist:
- github.com/onsi/gomega
Expand Down Expand Up @@ -84,9 +79,6 @@ linters:
- wastedassign
- wsl
- nlreturn

output:
formats: colored-line-number
issues:
max-issues-per-linter: 0
max-same-issues: 0
Expand Down

0 comments on commit 3ba043b

Please sign in to comment.