Skip to content

Bump actions/setup-java from 3 to 4 #47

Bump actions/setup-java from 3 to 4

Bump actions/setup-java from 3 to 4 #47

Workflow file for this run

name: "test"
on: ["push", "pull_request", "workflow_dispatch"]
jobs:
test:
runs-on: "ubuntu-latest"
strategy:
matrix:
java: ["8", "11", "17", "21"]
distribution: ["temurin", "semeru"]
name: "Java ${{ matrix.java }} (${{ matrix.distribution }})"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Validate Gradle Wrapper"
uses: "gradle/wrapper-validation-action@v1"
- name: "Set up JDKs"
uses: "actions/setup-java@v4"
with:
java-version: "${{ matrix.java }}"
distribution: "${{ matrix.distribution }}"
- name: "Set Gradle Permissions"
run: "chmod +x ./gradlew"
- name: "Run Tests"
run: "./gradlew test"