refactor: query engine #741
Workflow file for this run
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: Lint Pull Request | |
on: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Set up Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- name: Install dependencies | |
run: make install-dev | |
- name: Lint with ruff | |
run: .venv/bin/python -m ruff check --output-format=github . | |
- name: Lint imports with ruff | |
run: .venv/bin/python -m ruff check --select I --output-format=github . | |
- name: Check typing with pyright | |
uses: jakebailey/pyright-action@v2 | |
with: | |
python-path: .venv/bin/python | |
version: 1.1.373 | |
- name: Lint with clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings |