Skip to content

Commit

Permalink
chore: remove dep linters and do not run lint twice
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancurrah committed Jun 29, 2024
1 parent 48f9855 commit c94dfb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ jobs:
run: make build

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: latest
skip-build-cache: true
skip-pkg-cache: true

- name: Test
run: make test
Expand All @@ -51,19 +53,3 @@ jobs:
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true

golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: stable

- name: lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
skip-build-cache: true
skip-pkg-cache: true
12 changes: 1 addition & 11 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ linters:
enable-all: true
disable:
- lll
- golint
- deadcode
- maligned
- scopelint
- nosnakecase
- exhaustivestruct
- ifshort
- varcheck
- structcheck
- interfacer
- gomodguard
- gochecknoglobals
- paralleltest
Expand All @@ -26,7 +16,7 @@ linters:
- gofumpt
- nonamedreturns
- cyclop
- goerr113
- err113
- perfsprint
- tagliatelle
- wrapcheck
Expand Down

0 comments on commit c94dfb6

Please sign in to comment.