Bump ruff from 0.7.2 to 0.7.3 #208
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: Check format, lint and tests | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Validate pyproject.toml and poetry.lock | |
run: poetry check | |
- name: Install dependencies | |
run: poetry install --with dev | |
- name: Run format and lint | |
run: | | |
poetry run ruff format --check --diff . | |
poetry run ruff check --diff . | |
- name: Run Tests | |
run: poetry run pytest |