16 - Remove diagnostic CI steps for cache investigation

This commit is contained in:
myrmidex 2026-06-10 21:54:03 +00:00
parent 0e79599606
commit 334a7ccd70

View file

@ -28,19 +28,6 @@ jobs:
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
# Debugging cache miss issue (#16) — check whether ACTIONS_CACHE_URL is injected and reachable
- name: Debug cache env
run: |
echo "ACTIONS_CACHE_URL=${ACTIONS_CACHE_URL}"
env | grep -i cache || true
curl -v --max-time 5 "${ACTIONS_CACHE_URL}" || echo "CURL FAILED: $?"
- name: Cache PHP installation
uses: https://data.forgejo.org/actions/cache@v4
with:
path: /usr/local/php
key: php-8.4-pdo_pgsql-mbstring-xml-dom-intl-pcov
- name: Set up PHP
uses: https://github.com/shivammathur/setup-php@v2
with:
@ -48,25 +35,6 @@ jobs:
extensions: pdo_pgsql, mbstring, xml, dom, intl
coverage: pcov
# Debugging cache miss issue (#16) — check if /usr/local/php exists after setup-php
- name: Debug PHP install path
run: |
ls -la /usr/local/php 2>&1 || echo "/usr/local/php does not exist"
which php
php -v
# Debugging cache miss issue (#16) — ACTIONS_STEP_DEBUG enabled to inspect save/restore
- name: Cache Composer dependencies
uses: https://data.forgejo.org/actions/cache@v4
with:
path: ~/.composer/cache
key: composer-${{ hashFiles('composer.lock') }}
restore-keys: composer-
# Debugging cache miss issue (#16) — check if ~/.composer/cache exists before/after install
- name: Debug composer cache path (before install)
run: ls -la ~/.composer/cache 2>&1 || echo "~/.composer/cache does not exist yet"
- name: Install dependencies
run: composer install --no-interaction --prefer-dist