We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6caafb commit d102948Copy full SHA for d102948
.github/workflows/ci.yml
@@ -22,16 +22,16 @@ jobs:
22
- name: Setup Gradle
23
uses: gradle/actions/setup-gradle@v4
24
- name: Cache SonarCloud packages
25
+ if: ${{ !startsWith(github.ref_name, 'dependabot/') }}
26
uses: actions/cache@v4
27
with:
28
path: ~/.sonar/cache
29
key: ${{ runner.os }}-sonar
30
restore-keys: ${{ runner.os }}-sonar
31
- name: Run Gradle checks
32
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
34
- run: ./gradlew check sonar
+ run: ./gradlew ${{ startsWith(github.ref_name, 'dependabot/') && 'check' || 'check sonar' }}
35
- name: Upload test reports
36
if: ${{ !cancelled() }}
37
uses: actions/upload-artifact@v4
0 commit comments