feat(cli): add click as explicit dependency (typer>=0.26 vendors it)
CI / test (3.13) (push) Successful in 1m14s
CI / build (push) Failing after 1m25s

Keep uv and Python toolchain in a persistent host cache and bypass
setup-* actions when present; persist uv download cache on the host.
This commit is contained in:
ahp
2026-09-12 15:34:10 +03:30
parent a06b8790c5
commit 1d192f8bae
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -43,6 +43,11 @@ jobs:
echo "python not found in toolcache" echo "python not found in toolcache"
fi fi
- name: Persist uv download cache
run: |
mkdir -p /opt/hostedtoolcache/uv-cache
echo "UV_CACHE_DIR=/opt/hostedtoolcache/uv-cache" >> "$GITHUB_ENV"
- name: Install uv - name: Install uv
if: steps.uv.outputs.found != 'true' if: steps.uv.outputs.found != 'true'
uses: astral-sh/setup-uv@v3 uses: astral-sh/setup-uv@v3
@@ -110,6 +115,11 @@ jobs:
echo "python not found in toolcache" echo "python not found in toolcache"
fi fi
- name: Persist uv download cache
run: |
mkdir -p /opt/hostedtoolcache/uv-cache
echo "UV_CACHE_DIR=/opt/hostedtoolcache/uv-cache" >> "$GITHUB_ENV"
- name: Install uv - name: Install uv
if: steps.uv.outputs.found != 'true' if: steps.uv.outputs.found != 'true'
uses: astral-sh/setup-uv@v3 uses: astral-sh/setup-uv@v3
+1
View File
@@ -11,6 +11,7 @@ license = {text = "MIT"}
authors = [{name = "Amir Husayn Panahifar", email = "ahp@panahifar.ir"}] authors = [{name = "Amir Husayn Panahifar", email = "ahp@panahifar.ir"}]
dependencies = [ dependencies = [
"click>=8.1",
"typer>=0.12", "typer>=0.12",
"rich>=13.0", "rich>=13.0",
"structlog>=24.0", "structlog>=24.0",