kind: pipeline type: docker name: go-lib/util steps: - name: build image: golang commands: - mkdir -p .build - go install gotest.tools/gotestsum@v1.9.0 - go get ./... - gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./... - go install golang.org/x/vuln/cmd/govulncheck@latest - govulncheck -v ./... trigger: event: - push - cron - custom