Skip to content

Commit

Permalink
Improves GitHub Actions Workflow (#1193)
Browse files Browse the repository at this point in the history
* Improves GitHub Workflow

* Avoid using `^` deps (incompatible with Composer on Windows), while this is not used in Telescope, this repository will be used as reference to setup GitHub Action and I believe we should use the best configuration.
* Use `include` instead of `exclude`

* wip

* wip

* wip
  • Loading branch information
crynobone authored Sep 29, 2022
1 parent 7c98703 commit c2b94d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
fail-fast: true
matrix:
php: [7.3, 7.4, '8.0', 8.1]
laravel: [8, 9]
laravel: [8.*, 9.*]
exclude:
- php: 7.3
laravel: 9
laravel: 9.*
- php: 7.4
laravel: 9
laravel: 9.*

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

Expand All @@ -45,7 +45,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
composer require "illuminate/contracts=${{ matrix.laravel }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
Expand Down

0 comments on commit c2b94d9

Please sign in to comment.