mirror of
https://github.com/ivuorinen/go-test-sarif.git
synced 2026-03-05 16:57:19 +00:00
feat: the app (#2)
This commit is contained in:
13
action/entrypoint.sh
Normal file
13
action/entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if [ -z "$INPUT_TEST_RESULTS" ]; then
|
||||
echo "Missing test results input file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
OUTPUT_FILE="go-test-results.sarif"
|
||||
|
||||
/go-test-sarif "$INPUT_TEST_RESULTS" "$OUTPUT_FILE"
|
||||
|
||||
echo "Generated SARIF report: $OUTPUT_FILE"
|
||||
Reference in New Issue
Block a user