.github/workflows: run govulncheck

Closes #2413
This commit is contained in:
Hajime Hoshi 2022-10-27 14:25:26 +09:00
parent c54f60c3a7
commit 52c8353169

View File

@ -73,6 +73,11 @@ jobs:
(cd .github/workflows/vettools; go install .)
go vet -vettool=$(which vettools)${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }} -tags=example -v ./...
- name: govulncheck
if: ${{ !startsWith(matrix.go, '1.16.') && !startsWith(matrix.go, '1.17.') }}
run: |
go run golang.org/x/vuln/cmd/govulncheck@latest -tags=example ./...
- name: go build
run: |
go build -tags=example -v ./...