common: change cc-trusted-api deps to evidence-api #30
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: Python License Check | |
on: | |
pull_request: | |
paths: | |
- 'src/**/*.py' | |
workflow_dispatch: | |
jobs: | |
python-license-scan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
- name: License Check | |
run: | | |
set -ex | |
sudo su -c 'source setupenv.sh && \ | |
python3 -m pip install liccheck && \ | |
for f in $(find -type f -name "requirements.txt"); do | |
python3 -m pip install -r $f; | |
liccheck -s .github/.license_check.ini -r $f; | |
done' |