Upgrade Avro to 1.11.4 to address CVE-2024-47561 in 2.10_ds #763
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
name: kop tests | |
on: | |
push: | |
branches: | |
- 2.10_ds | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Start and init the oauth server | |
run: ./ci/init_hydra_oauth_server.sh | |
timeout-minutes: 5 | |
- name: Setup ssh access to build runner VM | |
# ssh access is enabled for builds in own forks | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: ./.github/actions/ssh-access | |
with: | |
limit-access-to-actor: true | |
- name: Build with Maven skipTests | |
run: mvn clean checkstyle:check install -ntp -B -DskipTests | |
- name: schema registry test after build | |
run: mvn test -ntp -B -DfailIfNoTests=false -pl schema-registry | |
- name: tests module | |
run: mvn test -ntp -B -DfailIfNoTests=false '-Dtest=!Docker*Test,!*Proxy*Test' -pl tests | |
timeout-minutes: 120 | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: package surefire artifacts | |
if: ${{ cancelled() || failure() }} | |
run: | | |
rm -rf artifacts | |
mkdir artifacts | |
find . -type d -name "*surefire*" -exec cp --parents -R {} artifacts/ \; | |
zip -r artifacts.zip artifacts | |
- uses: actions/upload-artifact@master | |
name: upload surefire-artifacts | |
if: ${{ cancelled() || failure() }} | |
with: | |
name: surefire-artifacts | |
path: artifacts.zip |