github.com/mavryk-network/mvgo@v1.19.9/.drone.yml (about) 1 kind: pipeline 2 name: MvGo Pipeline 3 platform: 4 os: linux 5 arch: amd64 6 7 trigger: 8 event: 9 - push 10 # paths: 11 # include: 12 # - README.md 13 14 environment: 15 CGO_ENABLED: 0 16 17 steps: 18 - name: run linter 19 image: golangci/golangci-lint:v1.54-alpine 20 commands: 21 - golangci-lint run 22 23 - name: scan the files 24 image: aquasec/trivy:0.45.1 25 commands: 26 - trivy fs --exit-code 1 --scanners vuln,config ./ 27 - trivy config --exit-code 1 ./ 28 29 - name: go build 30 image: golang:1.21.2-alpine3.18 31 commands: 32 - go vet ./... 33 - go test ./... 34 - go build ./examples/...