kind: pipeline type: docker name: go-lib/micro steps: - name: build image: golang:1.20.1 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