fix(cve): Schema parsing in the Java SDK of Apache Avro 1.11.3 and pr… #10210
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: Test branch | |
on: | |
push: | |
branches: | |
- '**' | |
- '!main' | |
merge_group: | |
branches: [ main ] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Import Secrets | |
id: secrets | |
uses: hashicorp/[email protected] | |
with: | |
url: ${{ secrets.VAULT_ADDR }} | |
method: approle | |
roleId: ${{ secrets.VAULT_ROLE_ID }} | |
secretId: ${{ secrets.VAULT_SECRET_ID }} | |
exportEnv: false # we rely on step outputs, no need for environment variables | |
secrets: | | |
secret/data/products/connectors/ci/common ARTIFACTORY_USR; | |
secret/data/products/connectors/ci/common ARTIFACTORY_PSW; | |
- name: Restore cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
# Use CI Nexus as co-located pull-through cache for Maven artifacts via ~/.m2/settings.xml | |
- name: 'Create settings.xml' | |
uses: s4u/[email protected] | |
with: | |
githubServer: false | |
servers: | | |
[{ | |
"id": "camunda-nexus", | |
"username": "${{ steps.secrets.outputs.ARTIFACTORY_USR }}", | |
"password": "${{ steps.secrets.outputs.ARTIFACTORY_PSW }}" | |
}] | |
mirrors: '[{"url": "https://repository.nexus.camunda.cloud/content/groups/internal/", "id": "camunda-nexus", "mirrorOf": "camunda-nexus", "name": "camunda Nexus"}]' | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- name: Install element templates CLI | |
run: npm install --global element-templates-cli | |
- name: Build Connectors | |
run: mvn --batch-mode clean test -PcheckFormat | |
- name: Lint Dockerfile - connector-runtime | |
uses: hadolint/[email protected] | |
with: | |
dockerfile: connector-runtime/connector-runtime-application/Dockerfile | |
- name: Lint Dockerfile - SaaS | |
uses: hadolint/[email protected] | |
with: | |
dockerfile: bundle/camunda-saas-bundle/Dockerfile | |
- name: Lint Dockerfile - default-bundle | |
uses: hadolint/[email protected] | |
with: | |
dockerfile: bundle/default-bundle/Dockerfile |