-
Notifications
You must be signed in to change notification settings - Fork 21
41 lines (36 loc) · 1 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.3, 7.4, 8.0, 8.1, 8.2]
illuminate: [^8.0, ^9.0, ^10.0, ^11.0]
exclude:
- php: 7.3
illuminate: ^9.0
- php: 7.4
illuminate: ^9.0
- php: 7.3
illuminate: ^10.0
- php: 7.4
illuminate: ^10.0
- php: 8.0
illuminate: ^10.0
- php: 7.3
illuminate: ^11.0
- php: 7.4
illuminate: ^11.0
- php: 8.0
illuminate: ^11.0
name: PHP ${{ matrix.php }} & Illuminate ${{ matrix.illuminate }}
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
- run: composer require "illuminate/database:${{ matrix.illuminate }}" --no-update
- run: composer update --no-interaction
- run: vendor/bin/phpunit