fabric-loom/.github/workflows/test-push.yml
modmuss50 b4a8c306e9 Fix build.
Thanks gradle for changing versioning style..
2021-01-16 13:52:25 +00:00

25 lines
692 B
YAML

name: Run Tests
on: [push, pull_request]
jobs:
gradle:
strategy:
matrix:
gradle: [4.9, 4.10.2, 6.8.0]
java: [jdk8, jdk11, jdk15]
exclude: # Dont run older gradle versions on newer java
- java: jdk15
gradle: 4.9
- java: jdk15
gradle: 4.10.2
- java: jdk11
gradle: 4.9
- java: jdk11
gradle: 4.10.2
runs-on: ubuntu-20.04
container:
image: gradle:${{ matrix.gradle }}-${{ matrix.java }}
options: --user root
steps:
- uses: actions/checkout@v1
- uses: gradle/wrapper-validation-action@v1
- run: gradle build check test --stacktrace