Skip to content

Commit

Permalink
Fix golangci and yaml linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
saisatishkarra committed Dec 7, 2023
1 parent e2e60a6 commit 70f87cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
image: ${{ needs.build.outputs.image }}
digest: ${{ needs.build.outputs.digest }}
registry-username: ${{ needs.build.outputs.username }}
provenance-registry-username: ${{ github.actor }}
provenance-registry-username: ${{ github.actor }}
provenance-registry: ${{ needs.provenance-metadata.outputs.registry }}
compile-generator: true
secrets:
Expand Down
7 changes: 7 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ linters:
- whitespace
- wrapcheck
linters-settings:
depguard:
rules:
prevent_unmaintained_packages:
list-mode: lax # allow unless explicitely denied
allow:
- $gostd
- github.com/pborman/uuid
errcheck:
check-type-assertions: true
check-blank: true
Expand Down

0 comments on commit 70f87cb

Please sign in to comment.