Updated build container
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing

This commit is contained in:
2023-03-08 19:44:58 +00:00
parent 763d8492c4
commit 29676ee524
+5 -5
View File
@@ -4,14 +4,14 @@ name: go-lib/micro
steps: steps:
- name: build - name: build
image: golang:1.18.0 image: golang:1.20.1
environment:
GOPRIVATE: scm.yoorie.de/go-lib/*
commands: commands:
- mkdir -p .build
- go install gotest.tools/gotestsum@v1.9.0
- go get ./... - go get ./...
- go test ./... - gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./...
- go install golang.org/x/vuln/cmd/govulncheck@latest - go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck -v -json ./... > vulncheck.json - govulncheck -v ./...
trigger: trigger:
event: event: