Skip to content

Commit

Permalink
Add GitHub Actions Matrix Strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
obstschale committed Jan 12, 2022
1 parent 45ec49a commit 38f4c11
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
operating-system: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
php-versions: [ '7.4', '8.0', '8.1' ]

steps:
- uses: actions/checkout@v2

- name: Setup PHP 7.3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
php-version: ${{ matrix.php-versions }}
tools: composer:v2

- name: Validate composer.json and composer.lock
Expand Down

0 comments on commit 38f4c11

Please sign in to comment.