Skip to content

#214: Fix CVE-2024-21634 in software.amazon.ion:ion-java #304

#214: Fix CVE-2024-21634 in software.amazon.ion:ion-java

#214: Fix CVE-2024-21634 in software.amazon.ion:ion-java #304

Workflow file for this run

name: CI Build
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
matrix-build:
name: Building with ${{ matrix.profile }} and Exasol ${{ matrix.exasol-docker-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
exasol-docker-version: [ 8.24.0 ]
profile: [ '-Pspark3.4', '-Pspark3.4-scala2.12', '-Pspark3.3', '-Pspark3.3-scala2.12' ]
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDKs
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: |
11
17
cache: "maven"
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Enable testcontainer reuse
run: echo 'testcontainers.reuse.enable=true' > "$HOME/.testcontainers.properties"
- name: Pull docker Images
run: docker pull exasol/docker-db:${{ matrix.exasol-docker-version }}
- name: Run tests and build with Maven
run: |
mvn --batch-mode verify ${{ matrix.profile }} \
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
-DtrimStackTrace=false
env:
EXASOL_DOCKER_VERSION: ${{ matrix.exasol-docker-version }}
- name: Publish Test Report
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 }}
- name: Sonar analysis
if: ${{ env.SONAR_TOKEN != null && matrix.profile == '-Pspark3.4' }}
run: |
mvn --batch-mode org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
-DtrimStackTrace=false \
-Dsonar.organization=exasol \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=$SONAR_TOKEN
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
build:
needs: matrix-build
runs-on: ubuntu-latest
steps:
- run: echo "Build successful"