fix(ci): tweak workflows

This commit is contained in:
2025-03-24 01:07:34 +02:00
parent 58ffaaacdb
commit 6b6236b303
5 changed files with 28 additions and 32 deletions

View File

@@ -19,12 +19,14 @@ jobs:
go-version-file: 'go.mod'
- name: Run Go Tests
shell: bash
run: go test -json ./... > go-test-results.json
- name: Convert JSON to SARIF
uses: ivuorinen/go-test-sarif@v1
with:
test_results: go-test-results.json
input_file: go-test-results.json
output_file: go-test-results.sarif
- name: Upload SARIF to GitHub Security Tab
uses: github/codeql-action/upload-sarif@5f8171a638ada777af81d42b55959a643bb29017 # v3