@@ -13,21 +13,14 @@ jobs:
1313 fail-fast : false
1414 matrix :
1515 operating-system : [ubuntu-latest]
16- php-versions : ['7.2 ', '7.3 ', '7.4 ']
16+ php-versions : ['7.4 ', '8.0 ', '8.1 ']
1717 composer-args : ['', '--prefer-lowest']
18- include :
19- - operating-system : ubuntu-latest
20- php-versions : ' 8.0'
21- composer-args : ' --ignore-platform-reqs --no-scripts'
22- - operating-system : ubuntu-latest
23- php-versions : ' 8.0'
24- composer-args : ' --prefer-lowest --ignore-platform-reqs --no-scripts'
2518 runs-on : ${{ matrix.operating-system }}
2619 steps :
2720 - name : Checkout
28- uses : actions/checkout@v2.3.4
21+ uses : actions/checkout@v2.4.0
2922 - name : Setup PHP
30- uses : shivammathur/setup-php@2.10 .0
23+ uses : shivammathur/setup-php@2.16 .0
3124 with :
3225 php-version : ${{ matrix.php-versions }}
3326 extensions : mbstring
3932 id : composer-cache
4033 run : echo "::set-output name=dir::$(composer config cache-files-dir)"
4134 - name : Cache dependencies
42- 35+ 4336 with :
4437 path : ${{ steps.composer-cache.outputs.dir }}
4538 key : php${{ matrix.php-versions }}-composer-${{ matrix.composer-args }}-${{ hashFiles('**/composer.json') }}
@@ -50,21 +43,14 @@ jobs:
5043 - name : PHPStan
5144 run : composer phpstan
5245 - name : Code Style Check
46+ env :
47+ PHP_CS_FIXER_IGNORE_ENV : true
5348 run : composer style-check -- --format=checkstyle | cs2pr
5449 - name : Test
5550 run : composer test-with-coverage
5651 - name : Upload Coverage
57- run : bash <(curl -s https://codecov.io/bash) -f ./clover.xml
58- merge-me :
59- name : Merge me!
60- needs :
61- - build
62- runs-on : ubuntu-latest
63- steps :
64- - name : Merge me!
65- uses : ridedott/merge-me-action@master
52+ uses : codecov/codecov-action@v2
6653 with :
67- # This must be used as GitHub Actions token does not support
68- # pushing to protected branches.
69- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
70- GITHUB_LOGIN : ' dependabot[bot]'
54+ files : ./clover.xml
55+ fail_ci_if_error : true
56+ verbose : true
0 commit comments