β¬οΈ Lock file maintenance #2722
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: Ruff | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
env: | |
DEFAULT_PYTHON: "3.13" | |
jobs: | |
ruff: | |
name: Ruff | |
runs-on: ubuntu-latest | |
steps: | |
- name: β€΅οΈ Check out code from GitHub | |
uses: actions/checkout@v4.2.2 | |
- name: π Set up uv | |
uses: astral-sh/setup-uv@v5.3.1 | |
with: | |
enable-cache: true | |
python-version: ${{ env.DEFAULT_PYTHON }} | |
- name: π Install dependencies | |
run: uv sync --frozen --dev | |
- name: π Run ruff linter | |
run: uv run ruff check --output-format=github . | |
- name: π Run ruff formatter | |
run: uv run ruff format --check . |