-
Notifications
You must be signed in to change notification settings - Fork 5
30 lines (23 loc) · 825 Bytes
/
ci.yml
File metadata and controls
30 lines (23 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Build and test
on: [ push, pull_request ]
jobs:
ci:
strategy:
matrix:
gradle-version: [ '7.6.4', '8.7', '8.12.1', 'current' ]
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
runs-on: ${{ matrix.os }}
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
steps:
- uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
- uses: actions/checkout@v5
- uses: gradle/wrapper-validation-action@v3
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: 8.12.1
- run:
./gradlew check --continue -Dtest.gradle.version.override='${{ matrix.gradle-version }}'
shell: bash