mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-02 12:19:50 +00:00
Fix golangci-lint version pinning (#3521)
This commit is contained in:
parent
1a3eed232f
commit
aaf11afef7
2
Makefile
2
Makefile
|
@ -127,7 +127,7 @@ check-xgo: ## Check if xgo is installed
|
||||||
|
|
||||||
install-tools: ## Install development tools
|
install-tools: ## Install development tools
|
||||||
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@1.56.2 ; \
|
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2 ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
hash gofumpt > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
hash gofumpt > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||||
go install mvdan.cc/gofumpt@latest; \
|
go install mvdan.cc/gofumpt@latest; \
|
||||||
|
|
Loading…
Reference in a new issue