2019-09-18 02:06:28 +02:00
|
|
|
name: Java CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-03-27 23:44:17 +01:00
|
|
|
- 'v5'
|
2020-10-11 12:47:49 +02:00
|
|
|
- 'v6'
|
2019-09-18 02:06:28 +02:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2020-03-27 23:44:17 +01:00
|
|
|
- 'v5'
|
2020-10-11 12:47:49 +02:00
|
|
|
- 'v6'
|
2019-09-18 02:06:28 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-18.04
|
2020-11-08 21:48:23 +01:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
java: [1.8, 1.11]
|
2019-09-18 02:06:28 +02:00
|
|
|
|
|
|
|
steps:
|
2020-03-27 23:44:17 +01:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2.0.0
|
|
|
|
- name: Setup Java JDK 1.8
|
|
|
|
uses: actions/setup-java@v1.3.0
|
2019-09-18 02:06:28 +02:00
|
|
|
with:
|
|
|
|
java-version: 1.8
|
2020-02-28 22:15:04 +01:00
|
|
|
- name: Gradle Wrapper Validation
|
|
|
|
uses: gradle/wrapper-validation-action@v1
|
2019-09-18 02:06:28 +02:00
|
|
|
- name: Test with Gradle
|
|
|
|
run: ./gradlew clean build
|