Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/go-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ on:
required: false
default: true
type: boolean
govulncheck-fail:
description: "Fail the workflow if govulncheck finds vulnerabilities"
required: false
default: true
type: boolean

jobs:
tests:
Expand Down Expand Up @@ -129,6 +134,7 @@ jobs:

- name: Run govulncheck
if: inputs.run-govulncheck
continue-on-error: ${{ !inputs.govulncheck-fail }}
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck -format text ./...
Expand Down