From 08390a25165439b334a2a16494b4c1732e878e4c Mon Sep 17 00:00:00 2001 From: Jean Bisutti Date: Thu, 26 Mar 2026 15:52:34 +0100 Subject: [PATCH] Cache Maven dependencies using setup-java built-in support --- .github/workflows/CI.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e588d23..1ed4ffc 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -22,12 +22,7 @@ jobs: with: java-version: ${{ matrix.java }} distribution: 'temurin' - - name: Cache Maven dependencies - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 + cache: 'maven' - name: Execute tests run: mvn verify - name: check license header is present in all files