Skip to content

Commit 934ff7b

Browse files
committed
Fix CI workflow issues
- Use 'make test' instead of non-existent 'make test-integration' - Update golangci-lint-action to v6 with version v2.5.0 - Update codeql-action to v3 (v2 deprecated) - Add continue-on-error for SARIF upload (needs GitHub Advanced Security)
1 parent eba26ff commit 934ff7b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
cache: true
3131

3232
- name: Run golangci-lint
33-
uses: golangci/golangci-lint-action@v3
33+
uses: golangci/golangci-lint-action@v6
3434
with:
35-
version: v1.55.2
35+
version: v2.5.0
3636
args: --timeout=5m
3737

3838
test:
@@ -54,7 +54,7 @@ jobs:
5454
5555
- name: Run integration tests
5656
run: |
57-
make test-integration
57+
make test
5858
5959
- name: Upload coverage
6060
uses: codecov/codecov-action@v3
@@ -169,10 +169,11 @@ jobs:
169169
args: '-no-fail -fmt sarif -out results.sarif ./...'
170170

171171
- name: Upload SARIF file
172-
uses: github/codeql-action/upload-sarif@v2
172+
uses: github/codeql-action/upload-sarif@v3
173173
with:
174174
sarif_file: results.sarif
175175
if: always()
176+
continue-on-error: true # Don't fail if GitHub Advanced Security is not enabled
176177

177178
- name: Run Trivy vulnerability scanner
178179
uses: aquasecurity/trivy-action@master

0 commit comments

Comments
 (0)