Skip to content

Commit 9010c6d

Browse files
Run GitHub actions on all supported PHP versions (#67)
1 parent b8d6a2a commit 9010c6d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/php.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,19 @@ on:
1212
jobs:
1313
phpunit:
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
php-version: [8.0, 8.1, 8.2, 8.3, 8.4]
1518
steps:
1619
- uses: actions/checkout@v2
1720

18-
- name: Set up PHP
21+
- name: Set up PHP ${{ matrix.php-version }}
1922
uses: shivammathur/setup-php@v2
2023
with:
21-
php-version: '8.0'
24+
php-version: ${{ matrix.php-version }}
2225
extensions: uopz, xdebug
2326
tools: composer, phpunit
24-
27+
2528
- name: Install Dependencies
2629
run: composer install --prefer-dist --no-progress --no-suggest
2730

0 commit comments

Comments
 (0)