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 3dd693f commit 20814e0Copy full SHA for 20814e0
.github/workflows/pull-request.yml
@@ -27,12 +27,20 @@ jobs:
27
analyze:
28
runs-on: ubuntu-latest
29
steps:
30
- - uses: actions/checkout@v2
+ - name: Checkout
31
+ uses: actions/checkout@v2
32
- name: Setup java
33
uses: actions/setup-java@v2
34
with:
35
java-version: '8'
36
+ distribution: 'adopt'
37
+ - name: Cache Maven packages
38
+ uses: actions/cache@v2
39
+ with:
40
+ path: ~/.m2
41
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
42
+ restore-keys: ${{ runner.os }}-m2
43
- name: Analyze with SonarCloud
- run: mvn -B clean verify -Psonar -Dsonar.login=${{ secrets.SONAR_TOKEN }}
44
+ run: mvn -B verify -Psonar -Dsonar.login=${{ secrets.SONAR_TOKEN }}
45
env:
46
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments