From 425f60ed9c3f7c93e14b9684c4dec6334e731d21 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 24 Mar 2025 00:57:51 +0200 Subject: [PATCH] feat: add the action --- action.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..0f1c823 --- /dev/null +++ b/action.yml @@ -0,0 +1,18 @@ +name: 'Go Test to SARIF Converter' +description: 'Converts Go test JSON output to SARIF format.' +author: 'Ismo Vuorinen' +inputs: + input_file: + description: 'Path to the Go test JSON results file.' + required: true + output_file: + description: 'Path where the SARIF output should be saved.' + required: true +runs: + using: 'composite' + steps: + - name: Convert Go test results to SARIF + uses: ivuorinen/go-test-sarif-action@v1 + with: + input_file: ${{ inputs.input_file }} + output_file: ${{ inputs.output_file }}