summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Bourdier <pascal.bourdier@mirakl.com>2022-03-10 08:11:31 +0100
committerPascal Bourdier <pascal.bourdier@gmail.com>2022-03-10 08:41:23 +0100
commite5a86d293fb31456af03b6a5df2d630ebb58bd5b (patch)
tree9d673a05b268b3e8365eccad1a24ed4d82ae08cb
parentacfcecf2ae41528d1d7ecd43d37d8fd554f587bc (diff)
downloadpodman-e5a86d293fb31456af03b6a5df2d630ebb58bd5b.tar.gz
podman-e5a86d293fb31456af03b6a5df2d630ebb58bd5b.tar.bz2
podman-e5a86d293fb31456af03b6a5df2d630ebb58bd5b.zip
CI: fix golangci-lint installation
avoid this warn: ``` golangci/golangci-lint info installed ./bin/golangci-lint golangci/golangci-lint err this script is deprecated, please do not use it anymore. check https://github.com/goreleaser/godownloader/issues/207 ``` Signed-off-by: Pascal Bourdier <pascal.bourdier@gmail.com>
-rwxr-xr-xhack/install_golangci.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/install_golangci.sh b/hack/install_golangci.sh
index 41cf90ddc..4ef6bc83b 100755
--- a/hack/install_golangci.sh
+++ b/hack/install_golangci.sh
@@ -6,7 +6,7 @@ die() { echo "${1:-No error message given} (from $(basename $0))"; exit 1; }
function install() {
echo "Installing golangci-lint v$VERSION into $BIN"
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b ./bin v$VERSION
+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v$VERSION
}
BIN="./bin/golangci-lint"