NO-ISSUE: Fixed build
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Stefan Goppelt 2025-09-14 20:08:37 +02:00
parent c2e45d54b1
commit 164cc74e8f
1 changed files with 29 additions and 30 deletions

View File

@ -2,46 +2,45 @@ kind: pipeline
type: docker type: docker
name: go-lib/util name: go-lib/util
environment: environment:
GOVERSION: 1.25.1
VERSION: development VERSION: development
steps: steps:
- name: prepare - name: prepare
image: golang:$GOVERSION image: golang:1.25.1
commands: commands:
- mkdir -p .build - mkdir -p .build
- go get -v ./... - go get -v ./...
- go install gotest.tools/gotestsum@v1.13.0 - go install gotest.tools/gotestsum@v1.13.0
- go install golang.org/x/vuln/cmd/govulncheck@latest - go install golang.org/x/vuln/cmd/govulncheck@latest
# - name: test - name: test
# image: golang:${GOVERSION} image: golang:1.25.1
# commands: commands:
# - mkdir -p .build - mkdir -p .build
# - gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./... - gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./...
# - govulncheck ./... - govulncheck ./...
# depends_on: depends_on:
# - prepare - prepare
# - name: vulncheck - name: vulncheck
# image: golang:${GOVERSION} image: golang:1.25.1
# commands: commands:
# - govulncheck ./... - govulncheck ./...
# depends_on: depends_on:
# - prepare - prepare
# - name: publish - name: publish
# image: golang image: golang:1.25.1
# commands: commands:
# - echo "Publishing not implemented yet" - echo "Publishing not implemented yet"
# when: when:
# branch: branch:
# - main - main
# event: event:
# - custom - custom
# trigger: trigger:
# event: event:
# - push - push
# - cron - cron
# - custom - custom