docs(cli): add not about tasks vs workers and seed regex #302
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
| permissions: | |
| contents: read | |
| pull-requests: write | |
| name: Code Quality | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ruff: | |
| name: Ruff | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Ruff Check | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| version: latest | |
| - name: Ruff Format | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| version: latest | |
| args: format --check | |
| ty: | |
| name: Type Check & Markdown Format | |
| runs-on: ubuntu-latest | |
| needs: ruff | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Install dependencies | |
| run: | | |
| uv venv | |
| uv sync --group dev --group test | |
| - name: Check markdown formatting | |
| run: | | |
| source .venv/bin/activate | |
| mdformat --check . | |
| - name: Run ty | |
| run: | | |
| source .venv/bin/activate | |
| ty check |