chore(deps): bump dawidd6/action-download-artifact from 5 to 6 (#3504) #5521
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_os: | |
name: OS ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup 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' && github.event_name == 'push' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
cache: 'maven' | |
- name: Test with Sonar | |
run: > | |
./mvnw $MAVEN_ARGS verify sonar:sonar | |
-Dsonar.host.url=https://sonarcloud.io | |
-Dsonar.organization=assertj | |
-Dsonar.projectKey=joel-costigliola_assertj-core | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |