Skip to content

Commit

Permalink
Merge pull request #160 from smallstep/panos/lint-skip-go-generate
Browse files Browse the repository at this point in the history
goCI: allow callers to skip goLint's code generation check
  • Loading branch information
azazeal authored Dec 2, 2024
2 parents 218031e + 71bfa74 commit 26ef775
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/goCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ on:
required: false
type: string
default: 'gotestsum -- -coverpkg=./... -coverprofile=coverage.out -covermode=atomic ./...'
lint-skip-go-generate:
required: false
type: boolean
default: false
secrets:
SSH_PRIVATE_KEY:
required: false
Expand All @@ -85,6 +89,7 @@ jobs:
goprivate: ${{ inputs.goprivate }}
golangci-lint-args: ${{ inputs.golangci-lint-args }}
os-dependencies: ${{ inputs.os-dependencies }}
skip-go-generate: ${{ inputs.lint-skip-go-generate }}
secrets: inherit

govulncheck:
Expand Down

0 comments on commit 26ef775

Please sign in to comment.