Skip to content

Commit

Permalink
chore(ci): use updated golangci-lint configuration for skipping dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lockwarr committed Feb 26, 2025
1 parent c4bee60 commit ecb9d90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ run:
tests: false
concurrency: 4
timeout: 5m
skip-dirs:
- build # docker files
- .cicd #
- doc

linters:
disable-all: true
Expand Down Expand Up @@ -43,3 +39,7 @@ issues:
# Set to 0 to disable.
# Default: 3
max-same-issues: 0
exclude-dirs:
- build # docker files
- .cicd #
- doc
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ go.sum: go.mod
.PHONY: lint

lint:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.0
golangci-lint run --verbose

###############################################################################
Expand Down

0 comments on commit ecb9d90

Please sign in to comment.