Skip to content

Commit b2b49a9

Browse files
committed
ci: update CI workflows for latest Go versions and config consistency
- Update Go versions in lint workflow to test against 1.23, 1.24, and 1.25 - Add Go 1.25 to the matrix in testing workflow - Change Trivy scan configuration to use double quotes for values Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
1 parent 536c215 commit b2b49a9

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
matrix:
88
os: [ubuntu-latest]
9-
go: [1.22, 1.23, 1.24]
9+
go: [1.23, 1.24, 1.25]
1010
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
1111
runs-on: ${{ matrix.os }}
1212

.github/workflows/testing.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest]
16-
go: [1.23, 1.24]
16+
go: [1.23, 1.24, 1.25]
1717
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
1818
runs-on: ${{ matrix.os }}
1919

@@ -65,9 +65,9 @@ jobs:
6565
- name: Run Trivy vulnerability scanner in repo mode
6666
uses: aquasecurity/trivy-action@0.28.0
6767
with:
68-
scan-type: 'fs'
68+
scan-type: "fs"
6969
ignore-unfixed: true
70-
format: 'sarif'
71-
output: 'trivy-results.sarif'
72-
exit-code: '1'
73-
severity: 'CRITICAL,HIGH'
70+
format: "sarif"
71+
output: "trivy-results.sarif"
72+
exit-code: "1"
73+
severity: "CRITICAL,HIGH"

0 commit comments

Comments
 (0)