Merge pull request #264 from jrha/panlint_bind_length #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |