Add missing Javadoc stylesheets #81
Workflow file for this run
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: CI | |
on: [push, pull_request] | |
env: | |
MAVEN_ARGS: -B -V -ntp -e -Djansi.passthrough=true -Dstyle.color=always | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
cache: 'maven' | |
- name: Test | |
run: ./mvnw $MAVEN_ARGS verify | |
javadoc: | |
name: Javadoc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
cache: 'maven' | |
- name: Generate Javadoc | |
run: ./mvnw $MAVEN_ARGS -DskipTests package javadoc:javadoc | |
sonar: | |
name: Sonar code analysis | |
runs-on: ubuntu-latest | |
if: github.repository == 'assertj/assertj-assertions-generator' && github.event_name == 'push' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
cache: 'maven' | |
- name: Test with Sonar | |
run: > | |
./mvnw -V --no-transfer-progress -e clean verify javadoc:javadoc | |
org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar | |
-Dsonar.host.url=https://sonarcloud.io | |
-Dsonar.organization=assertj | |
-Dsonar.projectKey=assertj_assertj-assertions-generator | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |