Bump org.assertj:assertj-core from 3.11.1 to 3.27.7 #22
This file contains hidden or 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
| # This workflow will build a Java project with Maven | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
| name: Java CI with Maven | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java-version: [ 8, 11, 15 ] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: ${{ matrix.java-version }} | |
| - name: Compile with Maven | |
| run: mvn -T 1C clean generate-sources compile --file pom.xml | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java-version: [ 8, 11, 15 ] | |
| needs: [build] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up JDK for tests | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: ${{ matrix.java-version }} | |
| - name: Test with Maven | |
| run: mvn -T 1C test-compile test --file pom.xml | |
| sonarcloud: | |
| environment: sonarcloud | |
| runs-on: ubuntu-latest | |
| needs: [build, test] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up JDK 11 for sonarcloud | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 11 | |
| - name: SonarCloud Scan | |
| run: mvn clean test jacoco:report org.jacoco:jacoco-maven-plugin:prepare-agent sonar:sonar -Dsonar.projectKey=java-fluent-validator-predicates -Dsonar.organization=mvallim -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |