Skip to content

⬆️ Update softprops/action-gh-release action to v2.2.0 (#874) #2622

⬆️ Update softprops/action-gh-release action to v2.2.0 (#874)

⬆️ Update softprops/action-gh-release action to v2.2.0 (#874) #2622

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 .