Update readme #84
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: Pre Merge Checks | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
gradle: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
runs-on: ${{ matrix.os }} | |
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Unit tests | |
run: bash ./gradlew test --stacktrace | |
- name: Cache Gradle Caches | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/caches/ | |
key: cache-gradle-cache | |
- name: Cache Gradle Wrapper | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/wrapper/ | |
key: cache-gradle-wrapper | |
- name: Run Gradle tasks | |
run: ./gradlew build --continue | |
- name: Stop Gradle | |
run: ./gradlew --stop |