Skip to content

Commit

Permalink
Fix yml
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Chan <[email protected]>
  • Loading branch information
arthurscchan committed Jun 13, 2024
1 parent 27ed8a8 commit ebce47d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/webapp-mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Install venv
run: sudo apt-get install python3-venv
- name: Set up venv
run: python3 -m venv tools/web-fuzzing-introspection/.venv
run: cd tools/web-fuzzing-introspection && python3 -m venv .venv
- name: Active venv dependencies
run: source tools/web-fuzzing-introspection/.venv/bin/activate && pip install -r tools/web-fuzzing-introspection/requirements.txt
run: cd tools/web-fuzzing-introspection && source .venv/bin/activate && pip install -r ./requirements.txt
- name: Install Dependencies

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 2: pipCommand not pinned by hash
Click Remediation section below to solve this issue
run: |
pip install mypy types-PyYAML pyright types-requests

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 2: pipCommand not pinned by hash
Click Remediation section below to solve this issue
Expand All @@ -32,4 +32,4 @@ jobs:
cd tools/web-fuzzing-introspection && mypy --ignore-missing-imports --explicit-package-bases .
- name: pyright
run: |
cd tools/web-fuzzing-introspection && pyright . --project=./.pyrightconfig.json --venvpath=./.venv
cd tools/web-fuzzing-introspection && source .venv/bin/activate && pyright . --project=./.pyrightconfig.json --venvpath=./.venv

0 comments on commit ebce47d

Please sign in to comment.