Skip to content

perf: fast-path substring guards + short-circuit ordering fixes in parser matches() #109

perf: fast-path substring guards + short-circuit ordering fixes in parser matches()

perf: fast-path substring guards + short-circuit ordering fixes in parser matches() #109

Workflow file for this run

name: Linting
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: "3.13"
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Run ruff (linter)
run: uvx ruff check
- name: Run ruff (formatter)
run: uvx ruff format --check