Skip to content

Commit 4bed02a

Browse files
committed
chore: change to golang-lint action
1 parent 70e3579 commit 4bed02a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build-n-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ jobs:
5858
go-version: ^1.20.0
5959
id: go
6060

61-
- name: Lint
62-
run: make lint
61+
- name: golangci-lint
62+
uses: golangci/golangci-lint-action@v6
63+
with:
64+
version: v1.60
6365

6466
- name: Test
6567
run: make test

.golangci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ linters-settings:
66
disabled-checks:
77
- exitAfterDefer
88
gofumpt:
9-
lang-version: "1.23"
9+
lang-version: "1.18"
1010

1111
output:
1212
format: colored-line-number
@@ -56,5 +56,3 @@ linters:
5656
- goprintffuncname
5757
- whitespace
5858
- thelper
59-
disable:
60-
- goanalysis_metalinter

0 commit comments

Comments
 (0)