Unify model loading and REST APIs and improve CLI #101
Workflow file for this run
This file contains hidden or 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 and Format | |
on: | |
push: | |
branches: | |
- main | |
- "dev-v[0-9]*" | |
paths: | |
- "src/**" | |
- "test/**" | |
- "pyproject.toml" | |
pull_request: | |
branches: | |
- main | |
- "dev-v[0-9]*" | |
paths: | |
- "src/**" | |
- "test/**" | |
- "pyproject.toml" | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/ruff-action@v1 | |
with: | |
version: 0.11.8 # same as in pyproject.toml and pre-commit hooks | |
args: check | |
- uses: astral-sh/ruff-action@v1 | |
with: | |
version: 0.11.8 # same as in pyproject.toml and pre-commit hooks | |
args: format --check |