Skip to content

Commit 0ed3033

Browse files
build(lint): install golangci-lint from source
github action hasn't been updated in a timely manner for go 1.25
1 parent 0461536 commit 0ed3033

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
go-version-file: .go-version
2626
check-latest: false
2727

28-
- name: Lint code
29-
uses: golangci/golangci-lint-action@v6
30-
with:
31-
version: latest
32-
only-new-issues: true
28+
- name: Install golangci-lint from source
29+
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
30+
31+
- name: Run golangci-lint
32+
run: golangci-lint run --timeout=5m --out-format=colored-line-number
3333

3434
govulncheck:
3535
name: Vulnerability Scan

0 commit comments

Comments
 (0)