Skip to content

chore: add pull request template #905

chore: add pull request template

chore: add pull request template #905

Workflow file for this run

name: Format Pull Request
on:
pull_request:
jobs:
format:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Install dependencies
run: make install-dev
- name: Format with ruff
run: .venv/bin/python -m ruff format --check
- name: Format with rustfmt
run: cargo fmt -- --check