Skip to content

⬆️ Update dependency pre-commit to v3.6.2 #1971

⬆️ Update dependency pre-commit to v3.6.2

⬆️ Update dependency pre-commit to v3.6.2 #1971

Workflow file for this run

---
name: Ruff
on:
pull_request:
push:
workflow_dispatch:
env:
DEFAULT_PYTHON: "3.11"
jobs:
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- name: ‡️ Check out code from GitHub
uses: actions/[email protected]
- name: πŸ— Set up Poetry
run: pipx install poetry
- name: πŸ— Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/[email protected]
with:
python-version: ${{ env.DEFAULT_PYTHON }}
cache: "poetry"
- name: πŸ— Install Python dependencies
run: poetry install --no-interaction
- name: πŸš€ Run ruff linter
run: poetry run ruff check --output-format=github .
- name: πŸš€ Run ruff formatter
run: poetry run ruff format --check .