fix(pypi): handle multiple versions of the same package when parsing requirements files #2431
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: mypy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
ci: | |
runs-on: ubuntu-20.04 | |
steps: | |
# Checkout the code | |
- uses: actions/checkout@v4 | |
- uses: jpetrucciani/mypy-check@master | |
with: | |
requirements: 1.6.0 | |
python_version: 3.8 | |
path: 'python/runfiles' | |
- uses: jpetrucciani/mypy-check@master | |
with: | |
requirements: 1.6.0 | |
python_version: 3.8 | |
path: 'tests/runfiles' | |