ci: install and run govulncheck directly in PR workflow
This commit is contained in:
parent
3cc6907580
commit
ff9f398c96
1 changed files with 4 additions and 3 deletions
7
.github/workflows/pr.yml
vendored
7
.github/workflows/pr.yml
vendored
|
|
@ -41,10 +41,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
|
|
||||||
|
- name: Install govulncheck
|
||||||
|
run: go install golang.org/x/vuln/cmd/govulncheck@v1.1.4
|
||||||
|
|
||||||
- name: Run Govulncheck
|
- name: Run Govulncheck
|
||||||
uses: golang/govulncheck-action@v1
|
run: govulncheck -C . -format text ./...
|
||||||
with:
|
|
||||||
go-package: ./...
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Tests
|
name: Tests
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue