1313jobs : # Docs: <https://git.io/JvxXE>
1414 php :
1515 name : PHP ${{ matrix.php }}, ${{ matrix.setup }} setup, laravel ${{ matrix.laravel }}
16- runs-on : ubuntu-20.04
16+ runs-on : ubuntu-latest
1717 timeout-minutes : 10
1818 strategy :
1919 fail-fast : false
2020 matrix :
2121 setup : [basic, lowest]
2222 laravel : [default]
2323 coverage : [yes]
24- php : ['7.3', '7.4', '8.0']
25- include :
26- - php : ' 7.3'
27- setup : basic
28- coverage : no
29- laravel : ' ^7.0'
24+ php : ['8.0', '8.1', '8.2']
3025 steps :
3126 - name : Check out code
32- uses : actions/checkout@v2
27+ uses : actions/checkout@v3
3328
3429 - name : Setup PHP, with composer and extensions
3530 uses : shivammathur/setup-php@v2 # Action page: <https://github.com/shivammathur/setup-php>
3631 with :
3732 php-version : ${{ matrix.php }}
3833 extensions : mbstring
39- tools : composer:v1 # TODO update composer up to v2
34+ tools : composer:v2
4035
4136 - name : Get Composer Cache Directory # Docs: <https://git.io/JfAKn#php---composer>
4237 id : composer-cache
43- run : echo "::set-output name =dir::$(composer config cache-files-dir)"
38+ run : echo "dir =dir::$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
4439
4540 - name : Cache dependencies # Docs: <https://git.io/JfAKn#php---composer>
46- uses : actions/cache@v2
41+ uses : actions/cache@v3
4742 with :
4843 path : ${{ steps.composer-cache.outputs.dir }}
4944 key : ${{ runner.os }}-composer-${{ matrix.setup }}-${{ hashFiles('**/composer.json') }}
@@ -74,7 +69,7 @@ jobs: # Docs: <https://git.io/JvxXE>
7469 XDEBUG_MODE : coverage
7570 run : composer test-cover
7671
77- - uses : codecov/codecov-action@v1 # Docs: <https://github.com/codecov/codecov-action>
72+ - uses : codecov/codecov-action@v3 # Docs: <https://github.com/codecov/codecov-action>
7873 if : matrix.coverage == 'yes'
7974 with :
8075 token : ${{ secrets.CODECOV_TOKEN }}
@@ -84,10 +79,10 @@ jobs: # Docs: <https://git.io/JvxXE>
8479
8580 lint-changelog :
8681 name : Lint changelog file
87- runs-on : ubuntu-20.04
82+ runs-on : ubuntu-latest
8883 steps :
8984 - name : Check out code
90- uses : actions/checkout@v2
85+ uses : actions/checkout@v3
9186
9287 - name : Lint changelog file
9388 uses : docker://avtodev/markdown-lint:v1 # Action page: <https://github.com/avto-dev/markdown-lint>
0 commit comments