Skip to content

Commit e93cfcc

Browse files
committed
Merge branch 'master' into pr/185
2 parents 1537b4b + a25d32f commit e93cfcc

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,41 @@ jobs:
1111
strategy:
1212
fail-fast: true
1313
matrix:
14-
php: [8.1, 8.0]
14+
php: [8.2, 8.1, 8.0]
1515
laravel: [9.*, 8.*, 10.*]
1616
stability: [prefer-lowest, prefer-stable]
1717
include:
1818
- laravel: 10.*
1919
testbench: 8.*
2020
- laravel: 9.*
21-
testbench: 7.*
21+
testbench: ^7.19
2222
- laravel: 8.*
2323
testbench: ^6.23
24+
exclude:
25+
# Laravel 10 doesn't support PHP 8.0
26+
- laravel: 10.*
27+
php: 8.0
28+
# Laravel 8 doesn't support PHP 8.2
29+
- laravel: 8.*
30+
php: 8.2
2431

25-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
32+
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }}
2633

2734
steps:
2835
- name: Checkout code
29-
uses: actions/checkout@v2
36+
uses: actions/checkout@v3
3037

3138
- name: Get Composer cache directory
3239
id: composer-cache
3340
run: |
3441
echo "::set-output name=dir::$(composer config cache-files-dir)"
3542
36-
- uses: actions/cache@v2
43+
- uses: actions/cache@v3
3744
with:
3845
path: ${{ steps.composer-cache.outputs.dir }}
39-
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
46+
key: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.laravel }}-${{ matrix.testbench }}-${{ matrix.stability }}-composer
4047
restore-keys: |
41-
${{ runner.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}-composer-
48+
${{ runner.os }}-${{ matrix.php }}-${{ matrix.laravel }}-${{ matrix.testbench }}-${{ matrix.stability }}-composer
4249
4350
- name: Setup PHP
4451
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)