From 2ec11bfd5f499f7e0c4f60851e7d811b8c500402 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Fri, 16 Apr 2021 14:25:25 +0200 Subject: [PATCH] ci: removes go-bindata steps --- .drone.yml | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/.drone.yml b/.drone.yml index a745ec2..3008998 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,60 +13,44 @@ steps: commands: - git submodule init - git submodule update - - - name: go-bindata - image: golang:latest - commands: - - (cd /tmp; go get -u github.com/go-bindata/go-bindata/...) - - go-bindata -pkg assets -o assets/bindata.go -nomemcopy /bin/true + depends_on: tags - name: lint image: golangci/golangci-lint:latest commands: - make lint depends_on: - - go-bindata + - submodule - name: test image: golang:latest commands: - make test depends_on: - - go-bindata + - submodules - - name: clean - image: golang:latest + - name: build + image: goreleaser/goreleaser:v0.162.0 commands: - - make clean - - git checkout -- . + - make build depends_on: - lint - test - - - name: build - image: goreleaser/goreleaser:v0.159.0 - commands: - - (cd /tmp; go get -u github.com/go-bindata/go-bindata/...) - - make build - depends_on: - - submodules - - clean when: event: exclude: - tag - name: release - image: goreleaser/goreleaser:v0.159.0 + image: goreleaser/goreleaser:v0.162.0 environment: GITHUB_TOKEN: from_secret: github_token commands: - - (cd /tmp; go get -u github.com/go-bindata/go-bindata/...) - goreleaser release --rm-dist --parallelism=1 depends_on: - - submodules - - clean + - lint + - test when: event: - tag