mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
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> Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:

committed by
Chris Evich

parent
a2f7e61545
commit
265d8c783f
@ -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"
|
||||
|
Reference in New Issue
Block a user