Skip to content

Commit

Permalink
Fix an unconstrained CI require for spatie/laravel-ignition that was …
Browse files Browse the repository at this point in the history
…trying to install ^2.0 series
  • Loading branch information
asgrim committed Feb 2, 2023
1 parent ea89ba3 commit 201f166
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,8 @@ jobs:
run: "composer require laravel/framework:${{ matrix.laravel-version}} --no-update --no-interaction --prefer-dist --prefer-stable"
- name: "Install spatie/laravel-ignition (if available)"
if: ${{ (matrix.php-version == '8.0' || matrix.php-version == '8.1') && (matrix.laravel-version == '8.*' || matrix.laravel-version == '9.*') }}
run: "composer require --dev spatie/laravel-ignition --no-update --no-interaction"
# Note: for Laravel 10, we will need to use `spatie/laravel-ignition:^2.0`
run: "composer require --dev spatie/laravel-ignition:^1.6 --no-update --no-interaction"
- name: "Unrestrict nesbot/carbon for older PHP versions"
if: ${{ (matrix.php-version == '7.2' || matrix.php-version == '7.3' || matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1') }}
run: "composer remove --dev --no-update --no-interaction nesbot/carbon"
Expand Down

0 comments on commit 201f166

Please sign in to comment.