@@ -17,35 +17,31 @@ jobs:
1717 uses : " actions/checkout@v2"
1818
1919 - name : " Run friendsofphp/php-cs-fixer"
20- run : " php7.4 ./tools/php-cs-fixer fix --dry-run --show-progress=dots --using-cache=no --verbose"
20+ run : " ./tools/php-cs-fixer fix --dry-run --show-progress=dots --using-cache=no --verbose"
2121
2222 type-checker :
23- name : " Type Checker"
23+ name : Type Checker
2424
25- runs-on : " ubuntu-latest"
25+ runs-on : ubuntu-latest
2626
2727 steps :
28- - name : " Checkout"
29- uses : " actions/checkout@v2"
28+ - name : Checkout
29+ uses : actions/checkout@v2
3030
31- - name : " Install PHP with extensions "
32- uses : " shivammathur/setup-php@v2"
31+ - name : Install PHP
32+ uses : shivammathur/setup-php@v2
3333 with :
34- php-version : " 7.4 "
35- coverage : " pcov "
34+ php-version : 8.0
35+ coverage : none
3636
37- - name : " Cache dependencies installed with composer"
38- uses : " actions/cache@v2"
39- with :
40- path : " ~/.composer/cache"
41- key : " php7.4-composer-${{ hashFiles('**/composer.json') }}"
42- restore-keys : " php7.4-composer-"
37+ - name : Update dependencies with composer
38+ run : ./tools/composer update --no-interaction --no-ansi --no-progress
4339
44- - name : " Update dependencies with composer "
45- run : " ./tools/composer update --no-ansi --no-interaction --no-progress "
40+ - name : Run vimeo/psalm on public API
41+ run : ./tools/psalm --config=.psalm/static-analysis.xml --no-progress --show-info=false
4642
47- - name : " Run vimeo/psalm"
48- run : " ./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats"
43+ - name : Run vimeo/psalm on internal code
44+ run : ./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats
4945
5046 tests :
5147 name : " Tests"
5652 fail-fast : false
5753 matrix :
5854 php-version :
59- - " 7.4"
6055 - " 8.0"
6156 - " 8.1"
6257
0 commit comments