Skip to content

Commit

Permalink
Use lowest supported PHP version for shepherd run
Browse files Browse the repository at this point in the history
Having Psalm installed under 8.1 leads to installing composer
dependencies that use PHP syntax incompatible with 7.4, however Psalm
analyzes itself using 7.4 parser.
  • Loading branch information
weirdan committed May 28, 2022
1 parent fce4272 commit 9784fe4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/shepherd.yml
Expand Up @@ -8,6 +8,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: '7.4'

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
Expand Down

0 comments on commit 9784fe4

Please sign in to comment.