Skip to content

Commit

Permalink
chore: change golangci-lint output format due to deprecation
Browse files Browse the repository at this point in the history
github-actions is deprecated, and colored-line-number should be used instead
  • Loading branch information
felixlut authored Sep 21, 2024
1 parent ba86215 commit 2256497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2256497

Please sign in to comment.