NO-ISSUE: A Test
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
86f12df1c0
commit
3621c45ab9
58
.drone.yml
58
.drone.yml
|
|
@ -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
|
||||
Loading…
Reference in New Issue