Skip to content

Merge pull request #40 from yegor256/renovate/actions-cache-4.x #18

Merge pull request #40 from yegor256/renovate/actions-cache-4.x

Merge pull request #40 from yegor256/renovate/actions-cache-4.x #18

Workflow file for this run

---
name: mvn
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
mvn:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-jdk-${{ matrix.java }}-maven-
- run: java -version
- run: mvn clean test