2020-02-03 16:59:56 +02:00
|
|
|
name: Groovy
|
|
|
|
|
2020-02-04 11:00:02 +02:00
|
|
|
on:
|
2021-04-22 12:55:35 +02:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-02-03 16:59:56 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
unit:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-04-17 21:29:48 +02:00
|
|
|
|
2021-04-22 12:55:35 +02:00
|
|
|
- uses: actions/checkout@v2
|
2020-04-17 21:29:48 +02:00
|
|
|
|
2021-04-22 12:55:35 +02:00
|
|
|
- uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
2020-04-17 21:29:48 +02:00
|
|
|
|
2021-04-22 12:55:35 +02:00
|
|
|
- name: Cache Maven Packages
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
path: ~/.m2/repository
|
|
|
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
|
|
|
restore-keys: |
|
|
|
|
${{ runner.os }}-maven-
|
2020-04-17 21:29:48 +02:00
|
|
|
|
2021-04-22 12:55:35 +02:00
|
|
|
- name: unit-test
|
|
|
|
run: mvn --batch-mode clean verify -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
|