build: use API when fetching golangci-lint as it is more reliable

This was turned off previously because we used it in the CI and it
rate limited.
This commit is contained in:
Nick Craig-Wood 2024-01-15 15:34:37 +00:00
parent 223d8c5fe3
commit 42cac4cf53

View File

@ -103,7 +103,7 @@ check: rclone
# Get the build dependencies
build_dep:
go run bin/get-github-release.go -extract golangci-lint golangci/golangci-lint 'golangci-lint-.*\.tar\.gz'
go run bin/get-github-release.go -use-api -extract golangci-lint golangci/golangci-lint 'golangci-lint-.*\.tar\.gz'
# Get the release dependencies we only install on linux
release_dep_linux: