Skip to content

Commit fd75088

Browse files
committed
run govulncheck on build
1 parent adc9989 commit fd75088

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
curl -L https://github.com/gotestyourself/gotestsum/releases/download/v${GOTESTSUM_VERSION}/gotestsum_${GOTESTSUM_VERSION}_linux_amd64.tar.gz | sudo tar -C /usr/local/bin -xz
2828
gotestsum --format short-verbose --no-summary=skipped ./...
2929
30+
- name: check vulnerabilities
31+
run: |
32+
set -o pipefail
33+
go install golang.org/x/vuln/cmd/govulncheck@latest
34+
govulncheck ./...
35+
3036
- name: build
3137
uses: goreleaser/goreleaser-action@v6
3238
with:

0 commit comments

Comments
 (0)