Fix CVE-2024-47554: commons-io:commons-io:jar:2.7:compile #163
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
# Generated by Project Keeper | |
# https://github.com/exasol/project-keeper/blob/main/project-keeper/src/main/resources/templates/.github/workflows/ci-build-next-java.yml | |
name: CI Build next Java | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
java-17-compatibility: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
cache: "maven" | |
- name: Run tests and build with Maven | |
run: | | |
mvn --batch-mode --update-snapshots clean package -DtrimStackTrace=false \ | |
-Djava.version=17 \ | |
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn | |
- name: Publish Test Report for Java 17 | |
uses: scacap/action-surefire-report@v1 | |
if: ${{ always() && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
fail_if_no_tests: false |