Addition of /upload Command for RedBrick CDN #351
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: Format & Type Check | |
| on: [push, pull_request] | |
| jobs: | |
| formatting: | |
| runs-on: ubuntu-latest | |
| name: "Check code style" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| # this should be the same as in pyproject.toml | |
| version: "0.6.9" | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Run ruff via nox | |
| run: | | |
| uv sync --group nox | |
| uv run nox -s format_check | |
| pyright: | |
| runs-on: ubuntu-latest | |
| name: "Type checking" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| # this should be the same as in pyproject.toml | |
| version: "0.6.9" | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Run pyright via nox | |
| run: | | |
| uv sync --group nox | |
| uv run nox -s pyright |