Skip to content

build(deps): bump actions/setup-python from 5.3.0 to 5.4.0 #308

build(deps): bump actions/setup-python from 5.3.0 to 5.4.0

build(deps): bump actions/setup-python from 5.3.0 to 5.4.0 #308

Workflow file for this run

name: Mypy-Pyright-webapp
on:
pull_request:
branches:
main
paths:
- 'tools/web-fuzzing-introspection/**'
- '.github/workflows/webapp-mypy.yml'
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
name: Mypy-Pyright-webapp
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v2.4.0
- name: Set up Python 3.8
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v3.0.0
with:
python-version: 3.8
- name: Install venv
run: sudo apt-get install python3-venv
- name: Set up venv
run: cd tools/web-fuzzing-introspection && python3 -m venv .venv
- name: Active venv dependencies
run: cd tools/web-fuzzing-introspection && source .venv/bin/activate && pip install -r ./requirements.txt
- name: Install Dependencies
run: |
pip install mypy types-PyYAML pyright types-requests
- name: mypy
run: |
cd tools/web-fuzzing-introspection && mypy --ignore-missing-imports --explicit-package-bases .
- name: pyright
run: |
cd tools/web-fuzzing-introspection && source .venv/bin/activate && pyright . --project=./.pyrightconfig.json --venvpath=./.venv