Skip to content

Commit 9a6f921

Browse files
committed
Update GitHub Actions for Laravel 11
1 parent 5d6dbad commit 9a6f921

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

.github/workflows/run-tests.yml

+22-20
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,43 @@ name: Unit Tests
33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
pull_request:
88
branches:
9-
- "*"
9+
- *
1010
schedule:
11-
- cron: '0 0 * * *'
11+
- cron: '0 0 * * *'
1212

1313
jobs:
1414
php-tests:
1515
runs-on: ubuntu-latest
16+
1617
timeout-minutes: 15
18+
1719
env:
1820
COMPOSER_NO_INTERACTION: 1
1921

2022
strategy:
2123
fail-fast: false
2224
matrix:
23-
php: [8.1, 8.0, 7.4, 7.3, 7.2]
25+
php: [7.2, 7.3, 7.4, 8.0, 8.1, '8.2']
2426

2527
name: P${{ matrix.php }}
2628

2729
steps:
28-
- name: Checkout code
29-
uses: actions/checkout@v2
30-
31-
- name: Setup PHP
32-
uses: shivammathur/setup-php@v2
33-
with:
34-
php-version: ${{ matrix.php }}
35-
coverage: none
36-
tools: composer:v2
37-
38-
- name: Install dependencies
39-
run: |
40-
composer install -o --quiet
41-
42-
- name: Execute Unit Tests
43-
run: composer test
30+
- name: Checkout code
31+
uses: actions/checkout@v2
32+
33+
- name: Setup PHP
34+
uses: shivammathur/setup-php@v2
35+
with:
36+
php-version: ${{ matrix.php }}
37+
coverage: none
38+
tools: composer:v2
39+
40+
- name: Install dependencies
41+
run: |
42+
composer install -o --quiet
43+
44+
- name: Execute Unit Tests
45+
run: composer test

0 commit comments

Comments
 (0)