Refactor action and tests; python only now #29
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" | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| lint: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v8 | |
| - name: Ruff | |
| run: | | |
| uv run ruff format --check . | |
| uv run ruff check . | |
| - name: ty | |
| run: uv run ty check | |
| - name: Test | |
| run: uv run pytest tests/ -v --tb=short |