PKGBUILD/.drone.yml

41 lines
723 B
YAML

kind: pipeline
type: docker
name: amd64
steps:
- name: build-linux-amd64
image: docker.io/volkerraschek/build-image:latest
commands:
- make
when:
event:
- push
- pull_request
- tag
# - name: golangci-lint
# image: docker.io/golangci/golangci-lint:v1.40.1-alpine
# commands:
# - golangci-lint run --concurrency $(nproc --ignore=1)
# when:
# event:
# - push
# - pull_request
# - name: gosec
# image: docker.io/securego/gosec:v2.8.0
# when:
# event:
# - push
# - pull_request
# steps:
# - name: test-unit
# image: docker.io/volkerraschek/build-image:latest
# commands:
# - make test/unit
# when:
# event:
# - push
# - pull_request
# - tag