diff --git a/.drone.yml b/.drone.yml index f16027a..388e45f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,7 @@ kind: pipeline type: docker name: go-lib/util + environment: VERSION: development @@ -13,13 +14,12 @@ steps: image: golang commands: - go get -v ./... - - go install gotest.tools/gotestsum@v1.13.0 - - go install golang.org/x/vuln/cmd/govulncheck@latest - name: test image: golang commands: - mkdir -p .build + - go install gotest.tools/gotestsum@v1.13.0 - gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./... depends_on: - prepare @@ -27,6 +27,7 @@ steps: - name: vulncheck image: golang commands: + - go install golang.org/x/vuln/cmd/govulncheck@latest - govulncheck ./... - ls -la /go/ depends_on: