Skip to content

Commit

Permalink
fix(lint)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijas-ws committed Aug 20, 2023
1 parent 14a6b81 commit 760c5da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.28.3
version: v1.54
args: --timeout=30m --config=./.golangci.yml --issues-exit-code=0
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ linters:
disable-all: true
enable:
- bodyclose
- depguard
# - depguard
# - dogsled
- dupl
- errcheck
Expand Down
10 changes: 0 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
fail_fast: true
repos:
- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-rc.1
hooks:
- id: go-fmt
- id: go-vet-mod
# - id: golangci-lint-mod
# args: ["--allow-parallel-runners"]
- id: go-build-repo-mod
- id: go-mod-tidy
- id: go-mod-tidy-repo
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
Expand Down

0 comments on commit 760c5da

Please sign in to comment.