Skip to content

Commit c8f9e54

Browse files
committed
Fix GitHub Actions CI by updating composer lock before install
- Add 'composer update --lock' before 'composer install' in CI workflow - This updates composer.lock to match composer.json changes without changing package versions - Reverted previous commit that deleted composer.lock (keeping lock files is best practice) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 433625d commit c8f9e54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/laravel.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
- name: Copy .env
2020
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
2121
- name: Install Dependencies
22-
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
22+
run: |
23+
composer update --lock
24+
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
2325
- name: Generate key
2426
run: php artisan key:generate
2527
- name: Directory Permissions

0 commit comments

Comments
 (0)