Update release workflow to use 'uv' for Python setup and add smoke test step

This commit is contained in:
Felix Rudat
2026-01-27 16:36:54 +01:00
parent 9d89a5f48c
commit cec8908e96
+8 -5
View File
@@ -15,17 +15,20 @@ jobs:
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }} HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-python@v5 - name: Install uv
uses: astral-sh/setup-uv@v5
with: with:
python-version: "3.11" enable-cache: true
- name: Install build dependencies - name: Setup project
run: | run: |
python -m pip install --upgrade pip uv python install 3.13
pip install uv
make setup make setup
- name: Build binary - name: Build binary
run: | run: |
make build make build
- name: Smoke test binary
run: |
./dist/planka-cli --help
- name: Package tarball - name: Package tarball
run: | run: |
VERSION="${GITHUB_REF_NAME#v}" VERSION="${GITHUB_REF_NAME#v}"