Bump cpp-linter/cpp-linter-action from a37e579de27f4a759c4c5f18f1d43592076236c9 to 9ce54f46a992387a9e94f58ff489f36b4310dc7c #417
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: Scancode | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
scancode: | |
runs-on: ubuntu-latest | |
container: | |
image: gianlucadb0/scancode-toolkit | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Create results directory | |
run: mkdir results | |
- name: Scancode run | |
run: scancode -clpeui -n 2 --cyclonedx ./results/sbom-cyclonedx --spdx-rdf ./results/sbom-spdx ./ | |
- name: Upload artifact | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 | |
with: | |
name: scan-scancode-report | |
path: ./results/ | |
- name: Artifact download | |
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 | |
with: | |
name: scan-scancode-report |