NO-ISSUE: A Test
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Stefan Goppelt 2025-09-14 20:01:32 +02:00
parent 86f12df1c0
commit 3621c45ab9
1 changed files with 29 additions and 29 deletions

View File

@ -7,41 +7,41 @@ environment:
steps:
- name: prepare
image: golang:${GOVERSION}
image: golang:1.25.1
commands:
- mkdir -p .build
- go get -v ./...
- go install gotest.tools/gotestsum@1.13.0
- go install golang.org/x/vuln/cmd/govulncheck@latest
- name: test
image: golang:${GOVERSION}
commands:
- mkdir -p .build
- gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./...
- govulncheck ./...
depends_on:
- prepare
# - name: test
# image: golang:${GOVERSION}
# commands:
# - mkdir -p .build
# - gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./...
# - govulncheck ./...
# depends_on:
# - prepare
- name: vulncheck
image: golang:${GOVERSION}
commands:
- govulncheck ./...
depends_on:
- prepare
# - name: vulncheck
# image: golang:${GOVERSION}
# commands:
# - govulncheck ./...
# depends_on:
# - prepare
- name: publish
image: golang
commands:
- echo "Publishing not implemented yet"
when:
branch:
- main
event:
- custom
# - name: publish
# image: golang
# commands:
# - echo "Publishing not implemented yet"
# when:
# branch:
# - main
# event:
# - custom
trigger:
event:
- push
- cron
- custom
# trigger:
# event:
# - push
# - cron
# - custom