Skip to content

Commit

Permalink
Only fail golangci starting from latest commit on main
Browse files Browse the repository at this point in the history
  • Loading branch information
akajla09 committed Jul 25, 2023
1 parent 8c9f4b8 commit f4fd5fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ jobs:
with:
version: latest
args: -v --timeout=5m
only-new-issues: true
only-new-issues: false
install-mode: "binary"
8 changes: 5 additions & 3 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ linters:
# - gocritic
# - gocyclo
# - godot
# - godox
- godox
# - goerr113
# - gofumpt
- gofumpt
# - gomnd
# - gosec
# - interfacebloat
Expand Down Expand Up @@ -79,4 +79,6 @@ linters-settings:
nestif:
min-complexity: 7
issues:
new-from-rev: HEAD~1
new-from-rev: 3f04848d5a946826ab51f00361d6793761ca6616
max-issues-per-linter: 0
max-same-issues: 0

0 comments on commit f4fd5fd

Please sign in to comment.