From dd6ea6b73bad78d6607a2e9fef6785ba1a80d6c5 Mon Sep 17 00:00:00 2001 From: Stefan Goppelt Date: Sun, 14 Sep 2025 20:14:38 +0200 Subject: [PATCH] NO-ISSUE: drone.yml modified --- .drone.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index c483322..e39200f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: