Skip to content

Commit 6d02224

Browse files
committed
Update linter CI
1 parent 47a346c commit 6d02224

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,6 @@ jobs:
106106
go-version: '1.23.3'
107107

108108
- name: Run linter
109-
uses: golangci/golangci-lint-action@v4
109+
uses: golangci/golangci-lint-action@v9
110110
with:
111-
version: latest
111+
version: v2.6.1

.golangci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: "2"
2+
3+
run:
4+
timeout: 5m
5+
tests: true
6+
7+
linters:
8+
default: standard
9+
settings:
10+
govet:
11+
disable:
12+
- unsafeptr

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ lint:
3939
golangci-lint run ./...
4040

4141
deps:
42-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
42+
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.6.1
4343

4444
update-kernel:
4545
git subtree pull --prefix=depend/bitcoin https://github.com/bitcoin/bitcoin.git master --squash

0 commit comments

Comments
 (0)