fix(webapp): better button placement and sizing (#366) #1160
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: CI | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| release: | |
| types: | |
| - published | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| FORCE_COLOR: 3 | |
| permissions: {} | |
| jobs: | |
| pre-commit: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.x" | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - uses: pre-commit/action@v3.0.1 | |
| - name: Run PyLint | |
| run: pipx run --python=python hatch run pylint:lint --output-format=github | |
| - name: Install with cache | |
| run: bun install --frozen-lockfile | |
| - name: Run linter | |
| run: bun run lint | |
| - name: Run type checker | |
| run: bun run type | |
| checks: | |
| name: Check Python on ${{ matrix.runs-on }} | |
| runs-on: ${{ matrix.runs-on }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| runs-on: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| # Last one is activated | |
| # yaml circular import issue on 3.14t on ubuntu | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: | | |
| 3.10 | |
| 3.11 | |
| 3.12 | |
| 3.14 | |
| 3.15 | |
| 3.13 | |
| allow-prereleases: true | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install hatch | |
| run: uv pip install --system hatch | |
| - name: Test package (all Pythons) | |
| run: hatch test -a | |
| dist: | |
| name: Distribution build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - uses: hynek/build-and-inspect-python-package@v2 | |
| docs: | |
| name: Docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v7 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install hatch | |
| run: uv pip install --system hatch | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install with cache | |
| run: bun install --frozen-lockfile | |
| - name: Build webapp | |
| run: bun run build | |
| - name: Linkcheck | |
| run: hatch run docs:linkcheck | |
| - name: Build docs with warnings as errors | |
| run: hatch run docs:html -W | |
| - name: Verify no changes required to API docs | |
| run: | | |
| hatch run api-docs:build | |
| git diff --exit-code | |
| action: | |
| name: Action | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Run repo-review action | |
| uses: ./ | |
| with: | |
| plugins: sp-repo-review==2026.04.04 |