Skip to content

Commit adeac51

Browse files
committed
NA: Use Maven cache when running junit tests on Github Actions
1 parent 796992c commit adeac51

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/junit.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,10 @@ jobs:
2626
distribution: 'zulu'
2727
java-version: ${{ matrix.jdk-version }}
2828
architecture: x64
29+
- uses: actions/cache@v4
30+
with:
31+
path: ~/.m2/repository
32+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
33+
restore-keys: |
34+
${{ runner.os }}-maven-
2935
- run: mvn test -B -pl yoti-sdk-api -Ddependency-check.skip=true

0 commit comments

Comments
 (0)