Skip to content

Commit

Permalink
Fixes Laravel constraint on GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGhostHunter committed Mar 13, 2023
1 parent 2893753 commit f88575c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.1"
php-version: "latest"
tools: "parallel-lint"

- name: "Checkout code"
Expand All @@ -53,14 +53,14 @@ jobs:
- "8.0"
- "8.1"
- "8.2"
laravel-constrain:
laravel-constraint:
- "9.*"
- "10.*"
dependencies:
- "lowest"
- "highest"
exclude:
- laravel-constrain: "10.*"
- laravel-constraint: "10.*"
php-version: "8.0"
steps:
- name: "Set up PHP"
Expand All @@ -77,6 +77,7 @@ jobs:
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--with=laravel/framework:${{ matrix.laravel-constraint }}"

- name: "Execute unit tests"
run: "composer run-script test"
Expand Down

0 comments on commit f88575c

Please sign in to comment.