Bump actions/cache from 4.1.2 to 4.2.0 #573
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: Third Party License Check | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
validate-sbom: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: adopt | |
- name: Generate json bom | |
run: mvn clean cyclonedx:makeAggregateBom -f pom.xml | |
- name: Check license compliance against allowlist | |
run: | | |
python config/check_dependencies.py \ | |
--allowlist="config/allowed_licenses.json" \ | |
--sbom="target/sbom.json" \ | |
--schema="config/allowlist_schema.json" |