Skip to content

Bump cpp-linter/cpp-linter-action #333

Bump cpp-linter/cpp-linter-action

Bump cpp-linter/cpp-linter-action #333

Workflow file for this run

name: Scancode
on: [push, pull_request]
permissions:
contents: read
jobs:
scancode:
runs-on: ubuntu-latest
container:
image: gianlucadb0/scancode-toolkit
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- 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@65462800fd760344b1a7b4382951275a0abb4808
with:
name: scan-scancode-report
path: ./results/
- name: Artifact download
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e
with:
name: scan-scancode-report