Bump gitpython from 3.1.31 to 3.1.32 #141
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: Typing | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
mypy: | |
name: mypy on Python ${{ matrix.python }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: ["3.7", "3.10"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python }} | |
id: python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Set pip cache dir | |
id: pip-cache | |
run: | | |
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT | |
- name: Restore cached Python pip packages | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.pip-cache.outputs.dir }} | |
key: pip-${{ runner.os }}-v3-${{ steps.python.outputs.python-version }}-${{ hashFiles('.github/workflows/requirements.txt') }} | |
restore-keys: | | |
pip-${{ runner.os }}-v3-${{ steps.python.outputs.python-version }}- | |
- name: Install workflow dependencies | |
run: | | |
pip install -r .github/workflows/requirements.txt | |
poetry config virtualenvs.create true | |
poetry config virtualenvs.in-project true | |
- name: Restore cached Python venv | |
id: cached-poetry-dependencies | |
uses: actions/cache@v3 | |
with: | |
path: .venv | |
key: >- | |
venv-${{ runner.os }}-v3-${{ steps.python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} | |
venv-${{ runner.os }}-v3-${{ steps.python.outputs.python-version }}- | |
- name: Install dependencies | |
run: poetry install --no-interaction | |
- name: Run mypy | |
run: poetry run mypy certbot_dns_exonet tests |