From 225649736766f9838ad9ed0281d895759f8510ca Mon Sep 17 00:00:00 2001 From: Felix Luthman <34520175+felixlut@users.noreply.github.com> Date: Sat, 21 Sep 2024 18:40:39 +0200 Subject: [PATCH] chore: change golangci-lint output format due to deprecation github-actions is deprecated, and colored-line-number should be used instead --- script/lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/lint.sh b/script/lint.sh index ccd0cf1150c..1434cc69042 100755 --- a/script/lint.sh +++ b/script/lint.sh @@ -33,7 +33,7 @@ for dir in $MOD_DIRS; do cd "$dir" # github actions output when running in an action if [ -n "$GITHUB_ACTIONS" ]; then - "$BIN"/golangci-lint run --path-prefix "$dir" --out-format github-actions + "$BIN"/golangci-lint run --path-prefix "$dir" --out-format colored-line-number else "$BIN"/golangci-lint run --path-prefix "$dir" fi