Skip to content

Commit

Permalink
Test both PHP 7.4 and PHP 8.0 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aboks committed Jun 16, 2022
1 parent bf4f0a7 commit c1d95a4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
php-version: [ '7.4', '8.0' ]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}

- name: Validate composer.json and composer.lock
run: composer validate

Expand Down

0 comments on commit c1d95a4

Please sign in to comment.