Skip to content

fix(deps): update dependency org.assertj:assertj-core to v3.27.4 (release/3.0.x) #20092

fix(deps): update dependency org.assertj:assertj-core to v3.27.4 (release/3.0.x)

fix(deps): update dependency org.assertj:assertj-core to v3.27.4 (release/3.0.x) #20092

Workflow file for this run

---
# yamllint disable rule:comments rule:line-length
name: Java CI
# yamllint disable-line rule:truthy
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- master
- release/*
jobs:
yamllint:
name: "\U0001F9F9 yamllint"
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out configuration from GitHub
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 🧹 Run yamllint
uses: frenck/action-yamllint@34b4bbcaeabedcfefad6adea8c5bbc42af0e2d47 # v1.5.0
build:
runs-on: ${{ matrix.os }}
permissions:
checks: write
contents: read
issues: write
pull-requests: write
strategy:
fail-fast: false
matrix:
java_version:
- "11"
- "17"
- "21"
os:
- ubuntu-latest
- windows-latest
env:
JAVA_OPTS: -XX:+TieredCompilation -XX:TieredStopAtLevel=1
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
distribution: 'zulu'
java-version: ${{ matrix.java_version }}
- name: Cache SonarCloud packages
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
if: ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '17' && matrix.os == 'ubuntu-latest' }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Build
run: ./mvnw --no-transfer-progress -V -B -fae -s .github/settings.xml -e "-DtrimStackTrace=false" "-Dsurefire.rerunFailingTestsCount=1" install
- name: Upload Test Reports
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: test-reports-${{ matrix.os }}-java${{ matrix.java_version }}
path: '**/*-reports'
- name: Publish Test Results
if: github.event.pull_request.head.repo.full_name == 'dropwizard/dropwizard'
uses: scacap/action-surefire-report@1a128e49c0585bc0b8e38e541ac3b6e35a5bc727 # v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
check_name: Test Report (${{ matrix.os }} - Java ${{ matrix.java_version }})
report_paths: '**/*-reports/TEST-*.xml'
- name: Analyze with SonarCloud
if: ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '17' && matrix.os == 'ubuntu-latest' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./mvnw --no-transfer-progress -V -B -ff -s .github/settings.xml "-Dsonar.projectKey=dropwizard_dropwizard" "-Dsonar.organization=dropwizard" "-Dsonar.host.url=https://sonarcloud.io" org.sonarsource.scanner.maven:sonar-maven-plugin:sonar