Skip to content

Commit e85344d

Browse files
committed
upgrade golangci-lint to a go 1.24 compatible version
1 parent 862f5fc commit e85344d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hack/golangci-lint.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -e -o pipefail
1818

1919
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2020
BIN=${DIR}/bin
21-
VERSION=1.62.0
21+
VERSION=1.64.8
2222

2323
function install_linter() {
2424
echo "Installing GolangCI-Lint"
@@ -36,7 +36,7 @@ then
3636
install_linter
3737
fi
3838

39-
FLAGS="--skip-dirs fs/assets/credits_generated"
39+
FLAGS="--exclude-dirs fs/assets/credits_generated"
4040
if [[ "${CI}" == "true" ]]; then
4141
FLAGS="$FLAGS -v --print-resources-usage"
4242
fi
@@ -56,4 +56,3 @@ if ! [ -x "$(command -v ${BIN}/logrus-analyzer)" ] ; then
5656
fi
5757
# This analyzer doesn't support any flags currently, so we don't include ${FLAGS}
5858
${BIN}/logrus-analyzer github.com/GoogleContainerTools/skaffold/v2{/pkg,/cmd,/diag}...
59-

0 commit comments

Comments
 (0)