Bump cryptography from 42.0.8 to 43.0.1 #2848
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: Checks | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
name: "Python ${{ matrix.python-version }}" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "${{ matrix.python-version }}" | |
- name: Cache Python dependencies | |
uses: actions/cache@v3 | |
with: | |
path: .venv | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/poetry.lock') }}-py-${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
curl -sSL https://install.python-poetry.org | python | |
poetry config virtualenvs.in-project true | |
poetry install --no-interaction | |
- name: Check code formatting | |
run: | | |
poetry run black --check . | |
poetry run ruff check . | |
- name: Static type checks with mypy | |
run: poetry run mypy . | |
- name: Test with pytest | |
run: poetry run pytest |