File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,12 @@ jobs:
4646 llm-port : ' 8080'
4747 manage-llm-server : ' true'
4848
49- - name : Upload SARIF to GitHub Security
50- uses : github/codeql-action/ upload-sarif @v4
49+ - name : Upload SARIF as artifact
50+ uses : actions/ upload-artifact @v4
5151 if : always()
5252 with :
53- sarif_file : gosecretscanner-results.sarif
53+ name : secret-scan-sarif
54+ path : gosecretscanner-results.sarif
5455 continue-on-error : true
5556
5657 # Job for code quality checks
Original file line number Diff line number Diff line change @@ -275,11 +275,12 @@ runs:
275275 exit 1
276276 fi
277277
278- - name : Upload SARIF to GitHub Security
278+ - name : Upload SARIF as artifact
279279 if : inputs.sarif-file != '' && always()
280- uses : github/codeql-action/ upload-sarif @v4
280+ uses : actions/ upload-artifact @v4
281281 with :
282- sarif_file : ${{ inputs.sarif-file }}
282+ name : secret-scan-sarif
283+ path : ${{ inputs.sarif-file }}
283284 continue-on-error : true
284285
285286 - name : Stop llama.cpp server
Original file line number Diff line number Diff line change @@ -411,9 +411,9 @@ func main() {
411411 }
412412
413413 // Helper to print status messages (stderr for JSON/SARIF, stdout for text)
414- outputFormat := * output
414+ outFmt := * outputFormat
415415 statusPrint := func (format string , args ... interface {}) {
416- if outputFormat == "json" || outputFormat == "sarif" {
416+ if outFmt == "json" || outFmt == "sarif" {
417417 fmt .Fprintf (os .Stderr , format , args ... )
418418 } else {
419419 fmt .Printf (format , args ... )
You can’t perform that action at this time.
0 commit comments