Skip to content

Commit

Permalink
feat: upgrade lint action (#95)
Browse files Browse the repository at this point in the history
* feat: upgrade lint action

* feat: set enable-all false

* feat: disable typecheck
  • Loading branch information
ishanarya0 authored Feb 23, 2024
1 parent 69f16e6 commit f77ad4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
skip-go-installation: true
version: v1.52.0
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ output:

linters:
disable-all: true
enable-all: false
disable:
- typecheck
enable:
- bodyclose
- depguard
Expand Down

0 comments on commit f77ad4f

Please sign in to comment.