Clean up GitHub Actions configuration
@@ -28,12 +28,7 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
- - name: Cache Maven repository
- uses: actions/cache@v1
- with:
- path: ~/.m2
- key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
- restore-keys: ${{ runner.os }}-m2
+ cache: 'maven'
- name: Run tests
run: mvn test
- name: Run Checkstyle
