fix(action,PVQ-5326): Fix testing to new subcommands and required par… #65
This file contains hidden or 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: Type Check | |
| on: | |
| push: | |
| branches: | |
| - '**' # Match pushes to any branch (even feat/feature) | |
| pull_request: | |
| branches: | |
| - '**' # Match PRs targeting any branch (even feat/feature) | |
| jobs: | |
| type-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the repo | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: "3.12" | |
| - name: Install mypy | |
| run: pip install mypy | |
| - name: Install requests type stubs (so mypy won't complain) | |
| run: pip install types-requests | |
| - name: Run mypy | |
| run: mypy . |