forked from forgejo/forgejo
fix drone build bug (#7192)
This commit is contained in:
parent
8f0182c322
commit
2f39fc7bb6
3 changed files with 4 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue