chore(deps): bump the pip-minor-and-patch group with 2 updates (#407) #343
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
# Lint with ruff | |
# Check format with ruff | |
# Check types with mypy | |
name: quality-check | |
on: | |
push: | |
branches: | |
- main | |
- next | |
pull_request: | |
branches: | |
- main | |
- next | |
permissions: | |
contents: read # for checkout | |
jobs: | |
quality-check: | |
# Do not run for automated release commits (otherwise we would run into a deadlock situation) | |
if: ${{ !contains(github.event.head_commit.message, 'chore(release):') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Setup Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Poetry | |
uses: abatilo/[email protected] | |
- name: Configure poetry | |
run: poetry config virtualenvs.in-project true | |
- name: View poetry version | |
run: poetry --version | |
- name: Install dependencies | |
run: poetry install --with dev | |
- name: Lint with ruff | |
run: poetry run ruff check . | |
- name: Check format with ruff | |
run: poetry run ruff format . --check | |
- name: Check types with mypy | |
run: poetry run mypy . |