Skip to content

Merge pull request #209 from paritytrading/dependabot/maven/org.apach… #346

Merge pull request #209 from paritytrading/dependabot/maven/org.apach…

Merge pull request #209 from paritytrading/dependabot/maven/org.apach… #346

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