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 0bc6306 commit 034b160Copy full SHA for 034b160
1 file changed
.github/workflows/build.yml
@@ -53,6 +53,13 @@ jobs:
53
with:
54
report_paths: '**/build/test-results/test/TEST-*.xml'
55
56
+ - name: Sonar
57
+ if: github.event.pull_request.head.repo.fork == false
58
+ run: ./gradlew jacocoTestReport sonar
59
+ env:
60
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
62
+
63
- name: Grype source code
64
id: grype_source_code
65
uses: anchore/scan-action@v6
@@ -79,13 +86,6 @@ jobs:
79
86
name: ns4kafka
80
87
path: ${{ github.workspace }}/build/libs/ns4kafka-${{ steps.metadata.outputs.current_version }}.jar
81
88
82
- - name: Sonar
83
- if: github.event.pull_request.head.repo.fork == false
84
- run: ./gradlew jacocoTestReport sonar
85
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
-
89
- name: Docker
90
run: ./gradlew dockerBuild
91
0 commit comments