mirror of
https://github.com/ivuorinen/go-test-sarif.git
synced 2026-02-02 21:44:37 +00:00
14 lines
244 B
Bash
Executable File
14 lines
244 B
Bash
Executable File
#!/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"
|