This commit is contained in:
Phil 2022-12-23 23:20:22 +01:00
parent c54789f0b9
commit eb791428e5

View file

@ -1,5 +1,6 @@
---
kind: pipeline
name: default
name: check
workspace:
base: /go
@ -20,9 +21,9 @@ steps:
- go get -v -d .
- gosec ./...
---
kind: pipeline
name: default2
name: build
workspace:
base: /go
@ -36,9 +37,5 @@ steps:
- go vet $(go list ./... | grep -v /vendor/)
- go test -race $(go list ./... | grep -v /vendor/)
- name: check-sec
image: golang
commands:
- go install github.com/securego/gosec/v2/cmd/gosec@latest
- go get -v -d .
- gosec ./...
depends_on:
- check