Skip to content

Commit

Permalink
Github actions linter uses [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Mitchell committed Feb 13, 2025
1 parent 1c1bc0b commit a5b4661
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,9 @@ jobs:
go-version: 1.18
- name: golangci-lint
uses: golangci/golangci-lint-action@v6

with:
# There is a breaking change in 1.58 that causes the linter not to recognize
# internal imports or standard library imports and results in linting errors
# that cannot be ignored.
# e.g certdb/certdb.go:5:2: could not import encoding/json (Config.Importer.Import(encoding/json) returned nil but no error) (typecheck)
version: v1.57
3 changes: 3 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ linters:
- ineffassign
- unused
- errcheck
issues:
exclude-dirs:
- transport/roots

0 comments on commit a5b4661

Please sign in to comment.