From adeac516805cbf4c88a07313f2488638985c3547 Mon Sep 17 00:00:00 2001 From: Alex Burt Date: Tue, 6 Jan 2026 14:22:46 +0000 Subject: [PATCH] NA: Use Maven cache when running junit tests on Github Actions --- .github/workflows/junit.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/junit.yml b/.github/workflows/junit.yml index 0f952df5..7ae63d69 100644 --- a/.github/workflows/junit.yml +++ b/.github/workflows/junit.yml @@ -26,4 +26,10 @@ jobs: distribution: 'zulu' java-version: ${{ matrix.jdk-version }} architecture: x64 + - uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- - run: mvn test -B -pl yoti-sdk-api -Ddependency-check.skip=true