1
0
Fork 0
forked from forgejo/forgejo

fix drone build bug (#7192)

This commit is contained in:
Cherrg 2019-06-13 06:23:45 +02:00 committed by techknowlogick
parent 8f0182c322
commit 2f39fc7bb6
3 changed files with 4 additions and 1 deletions

View file

@ -469,6 +469,7 @@ pr:
.PHONY: golangci-lint
golangci-lint:
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
export BINARY="golangci-lint"; \
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.16.0; \
fi
golangci-lint run