NO-ISSUE: drone.yml modified
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Stefan Goppelt 2025-09-14 20:14:38 +02:00
parent 164cc74e8f
commit dd6ea6b73b
1 changed files with 7 additions and 6 deletions

View File

@ -3,34 +3,35 @@ type: docker
name: go-lib/util
environment:
VERSION: development
workspace:
base: /go
# path: src/github.com/octocat/hello-world
steps:
- name: prepare
image: golang:1.25.1
image: golang
commands:
- mkdir -p .build
- go get -v ./...
- go install gotest.tools/gotestsum@v1.13.0
- go install golang.org/x/vuln/cmd/govulncheck@latest
- name: test
image: golang:1.25.1
image: golang
commands:
- mkdir -p .build
- gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./...
- govulncheck ./...
depends_on:
- prepare
- name: vulncheck
image: golang:1.25.1
image: golang
commands:
- govulncheck ./...
depends_on:
- prepare
- name: publish
image: golang:1.25.1
image: golang
commands:
- echo "Publishing not implemented yet"
when: