Skip to content

Commit 8397b18

Browse files
committed
[ci] fix flex version and run psalm against php 8
1 parent cfebb54 commit 8397b18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: composer global require friendsofphp/php-cs-fixer --prefer-dist --no-progress
3535

3636
- name: Running Pslam
37-
run: vendor/bin/psalm -c $GITHUB_WORKSPACE/psalm.xml
37+
run: vendor/bin/psalm -c $GITHUB_WORKSPACE/psalm.xml --php-version=8.0
3838

3939
- name: Running php-cs-fixer
4040
run: $HOME/.composer/vendor/bin/php-cs-fixer fix --config $GITHUB_WORKSPACE/.php-cs-fixer.dist.php --diff --dry-run
@@ -73,7 +73,7 @@ jobs:
7373

7474
- name: Install Global Dependencies
7575
run: |
76-
composer global require --no-progress --no-scripts --no-plugins symfony/flex dev-main
76+
composer global require --no-progress --no-scripts --no-plugins symfony/flex >=1.x
7777
7878
- name: "Composer install"
7979
uses: "ramsey/composer-install@v1"

0 commit comments

Comments
 (0)