Skip to content

Commit f4e5181

Browse files
srmnqSaraGfroerer
andauthored
Add build matrix capability (#32)
* Add workflow for possible future php versions Co-authored-by: Sara Gfrörer <[email protected]>
1 parent 982a763 commit f4e5181

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

+16
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,25 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

13+
strategy:
14+
matrix:
15+
operating-system: [ ubuntu-latest ]
16+
php: [ '7.4' ]
17+
# php: [ '7.4', '8.0' ]
18+
19+
name: PHP ${{ matrix.php }}
20+
1321
steps:
1422
- uses: actions/checkout@v2
1523

24+
- name: Setup PHP
25+
uses: shivammathur/setup-php@v2
26+
with:
27+
php-version: ${{ matrix.php }}
28+
tools: composer:v2
29+
coverage: none
30+
ini-values: expose_php=1
31+
1632
- name: Validate composer.json and composer.lock
1733
run: composer validate
1834

0 commit comments

Comments
 (0)