Skip to content

⬆️ Update eifinger/setup-rye action to v4.2.8 #2616

⬆️ Update eifinger/setup-rye action to v4.2.8

⬆️ Update eifinger/setup-rye action to v4.2.8 #2616

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 rye
uses: eifinger/[email protected]
with:
enable-cache: true
- name: 🏎️ Enable uv in rye
run: rye config --set-bool behavior.use-uv=true
- name: πŸ— Sync dependencies
run: rye sync
- name: πŸš€ Run ruff linter
run: rye run ruff check .
- name: πŸš€ Run ruff formatter
run: rye run ruff format --check .