Skip to content

Commit 365748b

Browse files
committed
chore: fixed GitHub flow
1 parent 8b765e4 commit 365748b

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

.github/workflows/lint-report.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,26 @@ jobs:
3535
- name: Run Android Lint
3636
run: ./gradlew lint
3737

38-
- name: Merge SARIF files
39-
run: |
40-
jq -s '{ "$schema": "https://json.schemastore.org/sarif-2.1.0", "version": "2.1.0", "runs": map(.runs) | add }' maps-compose/build/reports/lint-results.sarif maps-compose-utils/build/reports/lint-results.sarif maps-compose-widgets/build/reports/lint-results.sarif maps-app/build/reports/lint-results.sarif > merged.sarif
38+
- name: Upload SARIF from maps-compose
39+
uses: github/codeql-action/upload-sarif@v3
40+
with:
41+
sarif_file: maps-compose/build/reports/lint-results.sarif
42+
category: maps-compose
43+
44+
- name: Upload SARIF from maps-compose-utils
45+
uses: github/codeql-action/upload-sarif@v3
46+
with:
47+
sarif_file: maps-compose-utils/build/reports/lint-results.sarif
48+
category: maps-compose-utils
49+
50+
- name: Upload SARIF from maps-compose-widgets
51+
uses: github/codeql-action/upload-sarif@v3
52+
with:
53+
sarif_file: maps-compose-widgets/build/reports/lint-results.sarif
54+
category: maps-compose-widgets
4155

42-
- name: Upload SARIF file
56+
- name: Upload SARIF from maps-app
4357
uses: github/codeql-action/upload-sarif@v3
4458
with:
45-
sarif_file: merged.sarif
59+
sarif_file: maps-app/build/reports/lint-results.sarif
60+
category: maps-app

0 commit comments

Comments
 (0)