Skip to content

add licence check yml #2

add licence check yml

add licence check yml #2

Workflow file for this run

name: CodeScanner Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
license-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Pipenv and Conan
run: |
pip install --upgrade pip setuptools wheel
pip install pipenv scancode-toolkit
- name: Run scancode
run: |
scancode -clpeui -n 2 --json-pp scan.json ${{ github.workspace }}
- name: Upload json as artifact
uses: actions/upload-artifact@v3
with:
name: scan-json
path: scan.json