From 3a572613e935ea9ab357eddc30165317f03f578a Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Sun, 1 Nov 2026 21:25:40 +0100 Subject: [PATCH 1/2] Fix uv branch name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8048501..1bf39c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - extensions: uv-amphp/ext-uv@master, ev-beta, event, :xdebug + extensions: uv-amphp/ext-uv@0.3.x, ev-beta, event, :xdebug - name: Get Composer cache directory id: composer-cache From 257a005a4c73ea488dfae5025ab7ae92b277fa89 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Sun, 1 Nov 2026 21:30:29 +0100 Subject: [PATCH 2/2] Work around setup-php failing to build uv on bash 5.3 setup-php runs `cd "$sub_dir"` with an empty sub directory, which fails with "cd: null directory" on bash 5.3. Set UV_PATH explicitly until a release with shivammathur/setup-php#1147 is tagged. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bf39c3..03406e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,9 @@ jobs: with: php-version: ${{ matrix.php-version }} extensions: uv-amphp/ext-uv@0.3.x, ev-beta, event, :xdebug + env: + # Workaround for https://github.com/shivammathur/setup-php/issues/1146 (cd "" fails on bash 5.3) + UV_PATH: . - name: Get Composer cache directory id: composer-cache