We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e409dc commit e2ee65cCopy full SHA for e2ee65c
.github/workflows/build.yaml
@@ -28,6 +28,7 @@ jobs:
28
arguments: |
29
--build-cache
30
build
31
+ detekt
32
-PciBuild=true
33
- name: Archive test report
34
uses: actions/upload-artifact@v3
@@ -37,6 +38,17 @@ jobs:
37
38
path: |
39
*/build/test-results
40
*/build/reports
41
+ # In theory, the upload action should take care of stripping the GitHub
42
+ # runner workspace path from the file paths. But somehow that doesn't
43
+ # work. So do it manually.
44
+ - name: relativize SARIF file paths
45
+ run: |
46
+ sed -i 's#${{ github.workspace }}/##' build/reports/detekt/*.sarif
47
+ - name: Upload SARIF file
48
+ uses: github/codeql-action/upload-sarif@v2
49
+ with:
50
+ sarif_file: 'build/reports/detekt/'
51
+ category: detekt
52
53
test-model-api-gen-gradle:
54
runs-on: ubuntu-latest
0 commit comments