Skip to content

Commit 9dcd179

Browse files
committed
Cache Maven dependencies using setup-java built-in support
1 parent d74ddd8 commit 9dcd179

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ jobs:
2222
with:
2323
java-version: ${{ matrix.java }}
2424
distribution: 'temurin'
25-
- name: Cache Maven dependencies
26-
uses: actions/cache@v5
27-
with:
28-
path: ~/.m2
29-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
30-
restore-keys: ${{ runner.os }}-m2
25+
cache: 'maven'
3126
- name: Execute tests
3227
run: mvn verify
3328
- name: check license header is present in all files

0 commit comments

Comments
 (0)