Skip to content

bug: handle git changes outside the workspace root (#14) #14

bug: handle git changes outside the workspace root (#14)

bug: handle git changes outside the workspace root (#14) #14

Workflow file for this run

name: Publish
on:
push:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: pypi
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install uv
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e #v6.8.0
- name: Build
run: uv build
- name: setup-sample repo
run: tests/scripts/setup-sample.sh
- name: Smoke test (wheel)
run: uv run --isolated --no-project --with dist/*.whl tests/scripts/smoke.sh
- name: Smoke test (source distribution)
run: uv run --isolated --no-project --with dist/*.tar.gz tests/scripts/smoke.sh
- name: Publish
run: uv publish