Skip to content

[ImgBot] Optimize images #2501

[ImgBot] Optimize images

[ImgBot] Optimize images #2501

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/checkout@v4.1.7
- name: πŸ— Set up rye
uses: eifinger/setup-rye@v4.2.2
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 .