Skip to content

Sync fork 3

Sync fork 3 #3

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
jobs:
test:
name: Test on Java ${{ matrix.java-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java-version: [11, 17]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: ${{ matrix.java-version }}
cache: gradle
- name: Test
run: ./gradlew test
validate-gradle-wrapper:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3