Skip to content

Commit c94dfb6

Browse files
committed
chore: remove dep linters and do not run lint twice
1 parent 48f9855 commit c94dfb6

File tree

2 files changed

+4
-28
lines changed

2 files changed

+4
-28
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ jobs:
3333
run: make build
3434

3535
- name: golangci-lint
36-
uses: golangci/golangci-lint-action@v3
36+
uses: golangci/golangci-lint-action@v4
3737
with:
3838
version: latest
39+
skip-build-cache: true
40+
skip-pkg-cache: true
3941

4042
- name: Test
4143
run: make test
@@ -51,19 +53,3 @@ jobs:
5153
flags: unittests
5254
name: codecov-umbrella
5355
fail_ci_if_error: true
54-
55-
golangci-lint:
56-
runs-on: ubuntu-latest
57-
steps:
58-
- uses: actions/checkout@v4
59-
60-
- uses: actions/setup-go@v5
61-
with:
62-
go-version: stable
63-
64-
- name: lint
65-
uses: golangci/golangci-lint-action@v4
66-
with:
67-
version: latest
68-
skip-build-cache: true
69-
skip-pkg-cache: true

.golangci.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,6 @@ linters:
33
enable-all: true
44
disable:
55
- lll
6-
- golint
7-
- deadcode
8-
- maligned
9-
- scopelint
10-
- nosnakecase
11-
- exhaustivestruct
12-
- ifshort
13-
- varcheck
14-
- structcheck
15-
- interfacer
166
- gomodguard
177
- gochecknoglobals
188
- paralleltest
@@ -26,7 +16,7 @@ linters:
2616
- gofumpt
2717
- nonamedreturns
2818
- cyclop
29-
- goerr113
19+
- err113
3020
- perfsprint
3121
- tagliatelle
3222
- wrapcheck

0 commit comments

Comments
 (0)