Skip to content

Commit c1d95a4

Browse files
committed
Test both PHP 7.4 and PHP 8.0 in CI
1 parent bf4f0a7 commit c1d95a4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,19 @@ jobs:
1111

1212
runs-on: ubuntu-latest
1313

14+
strategy:
15+
matrix:
16+
php-version: [ '7.4', '8.0' ]
17+
1418
steps:
1519
- name: Checkout code
1620
uses: actions/checkout@v2
1721

22+
- name: Setup PHP
23+
uses: shivammathur/setup-php@v2
24+
with:
25+
php-version: ${{ matrix.php-version }}
26+
1827
- name: Validate composer.json and composer.lock
1928
run: composer validate
2029

0 commit comments

Comments
 (0)