Skip to content

Merge pull request #252 from quattor/fix-yaml-extensions #4

Merge pull request #252 from quattor/fix-yaml-extensions

Merge pull request #252 from quattor/fix-yaml-extensions #4

Workflow file for this run

name: Maven
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: /tmp/m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: run tests
run: |
# make sure it exists before chown
mkdir -p /tmp/m2
mvn $MVN_ARGS clean install test
env:
MVN_ARGS: -Dmaven.repo.local=/tmp/m2