chore(deps): bump certifi from 2024.2.2 to 2024.7.4 (#8) #47
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: Lint and check types | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install poetry | |
run: | | |
pip install pipx | |
pipx install poetry | |
- name: Validate the structure of the pyproject.toml | |
run: | | |
poetry check | |
- name: Verify that poetry.lock is consistent with pyproject.toml | |
run: | | |
poetry lock --check | |
- name: Install dependencies | |
run: | | |
poetry install | |
- name: Check code formatting by ruff | |
run: | | |
poetry run ruff format --check | |
- name: Lint code by ruff | |
run: | | |
poetry run ruff . | |
- name: Check types by pyright | |
run: | | |
poetry run pyright |