Skip to content

Commit c0df132

Browse files
committed
Update GitHub Actions for Laravel 13
1 parent eb7ce21 commit c0df132

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
15-
laravel: ['8.*', '9.*', '10.*', '11.*', '12.*']
15+
laravel: ['8.*', '9.*', '10.*', '11.*', '12.*', '13.*']
1616
stability: [prefer-lowest, prefer-stable]
1717
exclude:
1818
- laravel: 8.*
@@ -37,14 +37,19 @@ jobs:
3737
php: '8.0'
3838
- laravel: 12.*
3939
php: '8.1'
40+
- laravel: 13.*
41+
php: '8.0'
42+
- laravel: 13.*
43+
php: '8.1'
44+
- laravel: 13.*
45+
php: '8.2'
4046

4147
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
4248

4349
steps:
4450
- name: Checkout code
4551
uses: actions/checkout@v4
4652
with:
47-
# Fetch 10 commits or Scrutinizer will throw
4853
fetch-depth: 10
4954

5055
- name: Setup PHP
@@ -75,7 +80,6 @@ jobs:
7580

7681
- name: Upload Scrutinizer coverage
7782
uses: sudo-bot/action-scrutinizer@latest
78-
# Do not run this step on forked versions of the main repository (example: contributor forks)
79-
if: "matrix.laravel == '9.*' && github.repository == 'swisnl/json-api-client'"
83+
if: matrix.laravel == '9.*' && github.repository == 'swisnl/json-api-client'
8084
with:
8185
cli-args: --format=php-clover coverage.clover --revision=${{ github.event.pull_request.head.sha || github.sha }}

0 commit comments

Comments
 (0)