Skip to content
Snippets Groups Projects
Commit 1c3b2f34 authored by Lyuben Penkovski's avatar Lyuben Penkovski
Browse files

Add Go vulnerability check as CI step

parent 42ceaec3
Branches
Tags
1 merge request!43Add CI step for Go vulnerability check
Pipeline #53639 canceled
...@@ -35,6 +35,17 @@ unit tests: ...@@ -35,6 +35,17 @@ unit tests:
- amd64-docker - amd64-docker
before_script: [] before_script: []
govulncheck:
image: golang:1.19
stage: test
before_script:
- ln -s /builds /go/src/code.vereign.com
- cd /go/src/code.vereign.com/${CI_PROJECT_PATH}
script:
- go version
- go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck ./...
amd64: amd64:
extends: .docker-build extends: .docker-build
stage: build stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment