fix(ci): avoid cache:clear — use config:clear + view:clear + clear-compiled instead
API CI/CD / Validate (composer + pint) (push) Successful in 2m6s
API CI/CD / Test (PHPUnit) (push) Failing after 59s
API CI/CD / Build frontend assets (push) Successful in 53s
API CI/CD / Security audit (push) Successful in 33s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped

optimize:clear calls cache:clear which needs the cache table from
migrations (php artisan cache:table). This table doesn't exist in our
schema. clear-compiled is sufficient to clear bootstrap/cache/*.php.
This commit is contained in:
root
2026-06-25 18:23:59 -04:00
parent d16b3bdc71
commit accb55baba
+4 -1
View File
@@ -163,7 +163,10 @@ jobs:
run: php artisan migrate:fresh --force run: php artisan migrate:fresh --force
- name: Clear caches - name: Clear caches
run: php artisan optimize:clear run: |
php artisan config:clear
php artisan view:clear
php artisan clear-compiled
- name: Run Unit tests - name: Run Unit tests
continue-on-error: true continue-on-error: true