Skip to content

Commit

Permalink
Use GHA native error syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonforal committed Jan 15, 2025
1 parent ccf5dc8 commit 2e4347d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
relative_path="crates/cli/src/datadog_utils.rs"
if [ ! -f "$relative_path" ]; then
echo "Error: could not find target file"
echo "::error::Could not find file `$relative_path`"
exit 1
fi
Expand All @@ -43,7 +43,7 @@ jobs:
)
if [ -z "$concat_languages" ]; then
echo "Error: could not parse default ruleset languages"
echo "::error::Could not parse default ruleset languages from file `$relative_path`"
exit 1
fi
Expand Down

0 comments on commit 2e4347d

Please sign in to comment.