Correct line number for checkstyle suppression
[commons-rng.git] / .github / workflows / coverage.yml
index e148b91c96e2004c6f82b7759f99e0029ffbfdb3..dc4ef945e1ae7caace7b21afc27a3f92e95839be 100644 (file)
@@ -30,17 +30,12 @@ jobs:
 
     steps:
     - uses: actions/checkout@v3
-    - uses: actions/cache@v3
-      with:
-        path: ~/.m2/repository
-        key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
-        restore-keys: |
-          ${{ runner.os }}-maven-
     - name: Set up JDK ${{ matrix.java }}
-      uses: actions/setup-java@v2
+      uses: actions/setup-java@v3
       with:
-        distribution: adopt
+        distribution: temurin
         java-version: ${{ matrix.java }}
+        cache: 'maven'
     - name: Build with Maven including the docs-archive module using a profile
       run: mvn -V -Pdocs test jacoco:report-aggregate --no-transfer-progress