name: Build on: push: branches: ["main"] pull_request: jobs: build: runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@v5 # Full tag required — setup-uv dropped major/minor tags in v8.0.0, so # `@v9` does not resolve. See the note in lint.yml. - uses: astral-sh/setup-uv@v9.0.0 with: python-version: "3.11" cache-dependency-glob: "**/pyproject.toml" - name: Build package run: uv build - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: dist path: dist/