Nodes to Code #141
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 & Type Check | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["*"] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Install dependencies | |
| run: uv sync --all-extras --extra-index-url https://bradyajohnston.github.io/dailybpy --refresh --upgrade | |
| - name: ruff format | |
| run: uv run ruff format --check src/ generate.py | |
| - name: ruff check | |
| run: uv run ruff check src/ generate.py | |
| - name: ty check | |
| run: uv run ty check src/ |