Bump python-multipart from 0.0.19 to 0.0.20 in /scan #234
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: "license-check" | |
on: | |
pull_request: | |
branches: [ '**' ] | |
jobs: | |
license-check: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.11" | |
- name: Remove checkdmarc installed from CERT PL fork from requirements as it's not supported by liccheck, remove /scan as it's a local package | |
run: cp app/requirements.txt app/requirements.txt.orig; cat app/requirements.txt.orig | grep -v ^git+.*checkdmarc | grep -v ^/scan > app/requirements.txt | |
- name: Remove /scan as it's a local package | |
run: cp mail_receiver/requirements.txt mail_receiver/requirements.txt.orig; cat mail_receiver/requirements.txt.orig | grep -v ^/scan > mail_receiver/requirements.txt | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r app/requirements.txt -r mail_receiver/requirements.txt -r test/requirements.txt liccheck==0.9.2 | |
- name: Run liccheck on app/requirements.txt | |
run: liccheck -r app/requirements.txt | |
- name: Run liccheck on mail_receiver/requirements.txt | |
run: liccheck -r mail_receiver/requirements.txt | |
- name: Run liccheck on test/requirements.txt | |
run: liccheck -r test/requirements.txt |