Skip to content

Commit

Permalink
Add setup php step to GitHub Actions workflow (#7227)
Browse files Browse the repository at this point in the history
`make dev` and composer were being run with the default
php version, not the PHP version from the build matrix.
This was causing build failures as the default version is
PHP8 and some dependencies do not support it.

Add a Setup PHP step to fix.
  • Loading branch information
driusan authored Dec 16, 2020
1 parent 574bc22 commit c1383f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/loristest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
steps:
- uses: actions/checkout@v2

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


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

Expand Down

0 comments on commit c1383f3

Please # to comment.