Skip to content

Commit afd6326

Browse files
committed
fix: CI failures — remove missing ktlintCheck, guard SARIF upload
- Code Quality: replaced ktlintCheck (no plugin) with lint - Security Scan: skip SARIF upload when trivy-results.sarif missing — opus 4.6
1 parent 2d375d1 commit afd6326

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ jobs:
8686
- name: Grant execute permission for gradlew
8787
run: chmod +x gradlew
8888

89-
- name: Check code formatting
90-
run: ./gradlew ktlintCheck --stacktrace
89+
- name: Run lint checks
90+
run: ./gradlew lint --stacktrace
9191
continue-on-error: true
9292

9393
- name: Dependency analysis
@@ -113,6 +113,6 @@ jobs:
113113

114114
- name: Upload security results
115115
uses: github/codeql-action/upload-sarif@v3
116-
if: always()
116+
if: always() && hashFiles('trivy-results.sarif') != ''
117117
with:
118118
sarif_file: 'trivy-results.sarif'

0 commit comments

Comments
 (0)