Skip to content

Commit

Permalink
Add maven cache
Browse files Browse the repository at this point in the history
  • Loading branch information
uglide committed Nov 22, 2024
1 parent ce70de4 commit 9b42bfb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/doctests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
with:
java-version: '11'
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run doctests
run: |
mvn -Pdoctests test

0 comments on commit 9b42bfb

Please sign in to comment.