Skip to content

Commit

Permalink
Extend the GitHub workflow with supported PHP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yakimun committed Apr 13, 2021
1 parent 18de365 commit 984cc01
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/php.yml
Expand Up @@ -14,10 +14,17 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
php: ['7.3', '7.4', '8.0']

steps:
- uses: actions/checkout@v2

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

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

Expand Down Expand Up @@ -47,4 +54,4 @@ jobs:
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v1
with:
flags: ${{ matrix.os }}
flags: ${{ matrix.os }}-${{ matrix.php }}

0 comments on commit 984cc01

Please sign in to comment.