Skip to content

Commit

Permalink
fix runner
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeschuurmans committed Sep 18, 2024
1 parent 5801001 commit 502f021
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/push-pr-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
skip-cache: true
args: --config .golangci.yml --timeout 2m
version: v1.56.2
version: v1.61.0

- name: Test
run: go test ./...
Expand Down
13 changes: 5 additions & 8 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# golangci.com configuration
# https://github.com/golangci/golangci/wiki/Configuration
service:
golangci-lint-version: v1.56.2 # use the fixed version to not introduce new linters unexpectedly
golangci-lint-version: v1.61.0 # use the fixed version to not introduce new linters unexpectedly

linters-settings:
govet:
auto-fix: true
check-shadowing: true
settings:
printf:
funcs:
Expand Down Expand Up @@ -44,6 +43,7 @@ linters-settings:
extra-rules: true
whitespace:
auto-fix: true
shadow: true

linters:
enable:
Expand Down Expand Up @@ -82,14 +82,11 @@ linters:
enable-all: false
disable-all: true

run:
# build-tags:
skip-dirs:
issues:
exclude-dirs:
- internal/fixtures
skip-files:
exclude-files:
- "(.*/)*.*_test.go"

issues:
exclude-rules:
- linters:
- gosec
Expand Down

0 comments on commit 502f021

Please sign in to comment.