Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit 73a43d6

Browse files
committed
Update GitHub Actions for Laravel 11
1 parent 92bc3c3 commit 73a43d6

File tree

1 file changed

+31
-20
lines changed

1 file changed

+31
-20
lines changed

.github/workflows/ci.yml

+31-20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: CI
2-
on: [push, pull_request]
2+
3+
on:
4+
- push
5+
- pull_request
36

47
jobs:
58
run:
@@ -8,8 +11,8 @@ jobs:
811
strategy:
912
matrix:
1013
os: [ubuntu-latest]
11-
php: [ 7.3, 7.4, '8.0', 8.1 ]
12-
laravel: [ 7, 8, 9 , 10]
14+
php: [7.3, 7.4, '8.0', 8.1, '8.2']
15+
laravel: [7, 8, 9, 10, '11']
1316
exclude:
1417
- php: 7.3
1518
laravel: 10
@@ -21,24 +24,32 @@ jobs:
2124
laravel: 9
2225
- php: 7.4
2326
laravel: 9
27+
- laravel: '11'
28+
php: 7.3
29+
- laravel: '11'
30+
php: 7.4
31+
- laravel: '11'
32+
php: '8.0'
33+
- laravel: '11'
34+
php: 8.1
2435

2536
name: PHP ${{ matrix.php }} Test on ${{ matrix.os }} – Laravel ${{ matrix.laravel }}
2637

2738
steps:
28-
- name: Checkout
29-
uses: actions/checkout@v2
30-
31-
- name: Setup PHP
32-
uses: shivammathur/setup-php@v2
33-
with:
34-
php-version: ${{matrix.php}}
35-
36-
- name: Install dependencies
37-
uses: php-actions/composer@v5
38-
with:
39-
args: --prefer-source --no-interaction
40-
41-
- name: Run composer test script
42-
uses: php-actions/composer@v5
43-
with:
44-
command: test
39+
- name: Checkout
40+
uses: actions/checkout@v2
41+
42+
- name: Setup PHP
43+
uses: shivammathur/setup-php@v2
44+
with:
45+
php-version: ${{matrix.php}}
46+
47+
- name: Install dependencies
48+
uses: php-actions/composer@v5
49+
with:
50+
args: --prefer-source --no-interaction
51+
52+
- name: Run composer test script
53+
uses: php-actions/composer@v5
54+
with:
55+
command: test

0 commit comments

Comments
 (0)