ci: removes go-bindata steps

This commit is contained in:
Marvin Steadfast 2021-04-16 14:25:25 +02:00
parent 104e72bd86
commit 2ec11bfd5f

View File

@ -13,60 +13,44 @@ steps:
commands: commands:
- git submodule init - git submodule init
- git submodule update - git submodule update
depends_on: tags
- 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
- name: lint - name: lint
image: golangci/golangci-lint:latest image: golangci/golangci-lint:latest
commands: commands:
- make lint - make lint
depends_on: depends_on:
- go-bindata - submodule
- name: test - name: test
image: golang:latest image: golang:latest
commands: commands:
- make test - make test
depends_on: depends_on:
- go-bindata - submodules
- name: clean - name: build
image: golang:latest image: goreleaser/goreleaser:v0.162.0
commands: commands:
- make clean - make build
- git checkout -- .
depends_on: depends_on:
- lint - lint
- test - 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: when:
event: event:
exclude: exclude:
- tag - tag
- name: release - name: release
image: goreleaser/goreleaser:v0.159.0 image: goreleaser/goreleaser:v0.162.0
environment: environment:
GITHUB_TOKEN: GITHUB_TOKEN:
from_secret: github_token from_secret: github_token
commands: commands:
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
- goreleaser release --rm-dist --parallelism=1 - goreleaser release --rm-dist --parallelism=1
depends_on: depends_on:
- submodules - lint
- clean - test
when: when:
event: event:
- tag - tag