Skip to content

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

Bump actions/setup-java from 3 to 4

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

Workflow file for this run

name: Java
on:
- push
- pull_request
permissions:
contents: read
jobs:
java:
name: ${{ matrix.java-version }}
runs-on: ubuntu-latest
strategy:
matrix:
java-version:
- 8
- 11
- 17
- 21
steps:
- name: Check out GitHub repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
cache: 'maven'
- name: Run tests
run: mvn test
- name: Run Checkstyle
run: mvn checkstyle:check
- name: Generate Javadoc
run: mvn compile javadoc:javadoc