This repository has been archived by the owner on Oct 29, 2023. It is now read-only.
Merge pull request #83 from fasterjsonorg/dependabot/maven/org.apache… #249
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java | |
on: | |
- push | |
- pull_request | |
jobs: | |
java: | |
name: ${{ matrix.java-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: | |
- 8 | |
- 11 | |
- 17 | |
steps: | |
- name: Check out GitHub repository | |
uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
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 |