Test method to get an array of identical RNGs
[commons-rng.git] / .github / workflows / coverage.yml
index 86ccc5c52bbbe9797ae920262a926e75703a1b6c..dc4ef945e1ae7caace7b21afc27a3f92e95839be 100644 (file)
@@ -29,22 +29,17 @@ jobs:
         java: [ 8 ]
 
     steps:
-    - uses: actions/checkout@v2.4.0
-    - uses: actions/cache@v2.1.7
-      with:
-        path: ~/.m2/repository
-        key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
-        restore-keys: |
-          ${{ runner.os }}-maven-
+    - uses: actions/checkout@v3
     - 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
 
     - name: Upload coverage to Codecov
-      uses: codecov/codecov-action@v2
+      uses: codecov/codecov-action@v3
       with:
         files: ./docs-archive/target/site/jacoco-aggregate/jacoco.xml