maven(deps): bump commons-io:commons-io from 2.20.0 to 2.21.0 (#5481) #6047
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
| # standard build with Maven and push coverage data | |
| name: Build with Maven | |
| # trigger build master branch *should* support Java 21 and above | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| permissions: read-all | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| platform: | |
| - ubuntu-latest | |
| - windows-latest | |
| java-version: | |
| - 21 | |
| # Current spring version only supports up to java 21 | |
| # - 24 | |
| exclude: | |
| - platform: windows-latest | |
| java-version: 21 | |
| #- platform: windows-latest | |
| # java-version: 24 | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java-version }} | |
| cache: 'maven' | |
| - name: Install dependencies | |
| run: mvn clean install -DskipTests=true -D"maven.javadoc.skip"=true --batch-mode --show-version --file pom.xml | |
| - name: Build with Maven | |
| run: mvn clean install --batch-mode && mvn test -Pskip-default-test -Pintegration-test --batch-mode --file pom.xml | |
| # this is necessary to populate the environment variables for Coveralls properly | |
| - name: Set branch name and PR number | |
| id: refs | |
| env: | |
| BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }} | |
| run: | | |
| echo "::set-output name=branch_name::${BRANCH_NAME_OR_REF#refs/heads/}" | |
| echo "::set-output name=pr_number::$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")" | |
| - name: Update coverage data | |
| # only send coverage data for Java 21 | |
| if: ${{ steps.refs.outcome == 'success' }} | |
| continue-on-error: true | |
| env: | |
| CI_NAME: Github | |
| CI_BUILD_NUMBER: ${{ github.run_id }} | |
| CI_BUILD_URL: https://github.com/${{ github.repository }}/commit/${{ github.event.after }}/checks | |
| CI_BRANCH: ${{ steps.refs.outputs.branch_name }} | |
| CI_PULL_REQUEST: ${{ steps.refs.outputs.pr_number }} | |
| run: mvn jacoco:report coveralls:report --batch-mode --file pom.xml --no-transfer-progress -DrepoToken=${{ secrets.COVERALLS_TOKEN }} |