Skip to content

Commit a8052cf

Browse files
committed
ci: update Trivy scan configuration and test matrix
- Change Trivy scan output format from SARIF to table - Include MEDIUM severity in Trivy scan results - Remove Go 1.23 from the test matrix Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
1 parent 522abe8 commit a8052cf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,15 @@ jobs:
3838
with:
3939
scan-type: "fs"
4040
ignore-unfixed: true
41-
format: "sarif"
42-
output: "trivy-results.sarif"
41+
format: "table"
4342
exit-code: "1"
44-
severity: "CRITICAL,HIGH"
43+
severity: "CRITICAL,HIGH,MEDIUM"
4544

4645
test:
4746
strategy:
4847
matrix:
4948
os: [ubuntu-latest, macos-latest]
50-
go: [1.23, 1.24, 1.25]
49+
go: [1.24, 1.25]
5150
include:
5251
- os: ubuntu-latest
5352
go-build: ~/.cache/go-build

0 commit comments

Comments
 (0)