Skip to content

Keep template AI guidance optional by default #7

Keep template AI guidance optional by default

Keep template AI guidance optional by default #7

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version-file: .python-version
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Build wheel and sdist
run: make build
- name: Smoke-test built wheel
run: |
python -m venv /tmp/python-template-wheel-test
/tmp/python-template-wheel-test/bin/pip install dist/*.whl
/tmp/python-template-wheel-test/bin/python-template --help
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: python-package-dist
path: dist/