diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03406e3..16b7ec6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,11 +65,20 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - extensions: uv-amphp/ext-uv@0.3.x, ev-beta, event, :xdebug + extensions: uv-amphp/ext-uv@0.3.x, event, :xdebug + tools: pie env: # Workaround for https://github.com/shivammathur/setup-php/issues/1146 (cd "" fails on bash 5.3) UV_PATH: . + - name: Install ev + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + # PIE refuses to call sudo itself in a non-interactive terminal, but the runner has passwordless sudo + sudo --preserve-env=GITHUB_TOKEN pie install osmanov/pecl-ev + php --ri ev + - name: Get Composer cache directory id: composer-cache run: echo "dir=$(composer config cache-dir)" >> "$GITHUB_OUTPUT"