diff --git a/.drone1.yml b/.drone1.yml index 9ae9b175c..0b522aa74 100644 --- a/.drone1.yml +++ b/.drone1.yml @@ -47,6 +47,17 @@ steps: pull: true environment: GOFLAGS: '-mod=vendor' + commands: + - make build + when: + event: [ push, tag, pull_request ] + + - name: lint + image: vikunja/golang-build:latest + pull: true + environment: + GOFLAGS: '-mod=vendor' + depends_on: [ build ] commands: - make generate - make lint @@ -59,7 +70,6 @@ steps: - make static-check - wget -O - -q https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $GOPATH/bin v2.2.0 # Need to manually install as it does not support being installed via go modules like the rest. - make gosec-check - - make build when: event: [ push, tag, pull_request ]