Verify cdxgen pre-release #20
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: Verify cdxgen pre-release | |
on: | |
workflow_dispatch: | |
inputs: | |
cdxgen_repo: | |
required: false | |
description: Repository (cdxgen or fork of https://github.com/CycloneDX/cdxgen/) to run tests with | |
default: CycloneDX/cdxgen | |
cdxgen_branch: | |
required: true | |
description: Branch of cdxgen_repo to run tests with | |
env: | |
CDXGEN_PLUGINS_VERSION: '1.4.0' | |
GRYPE_VERSION: '0.73.4' | |
SBOMQS_VERSION: '0.0.28' | |
java_version: '21' | |
mvn_parameter: '-B -ntp' | |
cdxgen_branch: ${{ github.event.inputs.cdxgen_branch }} | |
cdxgen_repo: ${{ github.event.inputs.cdxgen_repo }} | |
jobs: | |
verify: | |
name: Verify cdxgen pre-release from branch | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '${{ env.java_version }}' | |
distribution: 'temurin' | |
- name: Install requirements | |
uses: ./.github/actions/install-requirements | |
with: | |
grype_version: ${{ env.GRYPE_VERSION }} | |
sbomqs_version: ${{ env.SBOMQS_VERSION }} | |
cdxgen_plugins_version: ${{ env.CDXGEN_PLUGINS_VERSION }} | |
cdxgen_repo: ${{ env.cdxgen_repo }} | |
cdxgen_branch: ${{ env.cdxgen_branch }} | |
- name: Application Build and Test with cdxgen branch ${{ env.cdxgen_branch }} | |
env: | |
QUARKUS_GITHUB_APP_APP_ID: 32168 | |
QUARKUS_GITHUB_APP_WEBHOOK_SECRET: for-my-eyes-only | |
QUARKUS_GITHUB_APP_PRIVATE_KEY: '' | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DTRACK_APIKEY: theres-nothing-to-see-here | |
run: mvn ${{ env.mvn_parameter }} clean verify |