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: Check Template Regeneration | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check-template: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Run regeneration check | |
run: uv run copier/copy_utils.py check-regeneration | |
check-python: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Run Python checks | |
run: uv run hatch run all-check | |
working-directory: test-proj | |
check-ui: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '24' | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Activate pnpm version | |
working-directory: test-proj/ui | |
run: corepack prepare --activate | |
- name: Run UI checks | |
run: pnpm run all-check | |
working-directory: test-proj/ui |