File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ jobs:
125125 - package-cross
126126 - package-source
127127 - package-debian
128+ - govulncheck
128129 steps :
129130 - uses : actions/checkout@v3
130131
@@ -762,3 +763,25 @@ jobs:
762763 platforms : linux/amd64,linux/arm64,linux/arm/7
763764 push : ${{ env.DOCKER_PUSH == 'true' }}
764765 tags : ${{ env.DOCKER_TAGS }}
766+
767+ #
768+ # Check for known vulnerabilities in Go dependencies
769+ #
770+
771+ govulncheck :
772+ runs-on : ubuntu-latest
773+ name : Run govulncheck
774+ steps :
775+ - uses : actions/checkout@v3
776+
777+ - uses : actions/setup-go@v4
778+ with :
779+ go-version : ${{ env.GO_VERSION }}
780+ cache : false
781+ check-latest : true
782+
783+ - name : run govulncheck
784+ run : |
785+ go run build.go assets
786+ go install golang.org/x/vuln/cmd/govulncheck@latest
787+ govulncheck ./...
You can’t perform that action at this time.
0 commit comments