77 runs-on : ubuntu-latest
88
99 steps :
10- - uses : actions/checkout@v2
10+ - uses : actions/checkout@v3
1111
1212 - name : Cache Composer dependencies
13- uses : actions/cache@v2
13+ uses : actions/cache@v3
1414 with :
1515 path : /tmp/composer-cache
1616 key : ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
1717
18- - uses : php-actions/composer@v5
18+ - uses : php-actions/composer@v6
1919
2020 - name : Archive build
2121 run : mkdir /tmp/github-actions/ && tar -cvf /tmp/github-actions/build.tar ./
2222
2323 - name : Upload build archive for test runners
24- uses : actions/upload-artifact@v2
24+ uses : actions/upload-artifact@v3
2525 with :
2626 name : build-artifact
2727 path : /tmp/github-actions
3131 needs : [composer]
3232
3333 steps :
34- - uses : actions/download-artifact@v2
34+ - uses : actions/download-artifact@v3
3535 with :
3636 name : build-artifact
3737 path : /tmp/github-actions
4040 run : tar -xvf /tmp/github-actions/build.tar ./
4141
4242 - name : PHP Unit tests
43- uses : php-actions/phpunit@v2
43+ uses : php-actions/phpunit@v3
4444 with :
45- php_version : 8.0
45+ php_version : 8.1
4646 php_extensions : xdebug
4747 configuration : test/phpunit/phpunit.xml
4848 bootstrap : vendor/autoload.php
5252 needs : [composer]
5353
5454 steps :
55- - uses : actions/download-artifact@v2
55+ - uses : actions/download-artifact@v3
5656 with :
5757 name : build-artifact
5858 path : /tmp/github-actions
6161 run : tar -xvf /tmp/github-actions/build.tar ./
6262
6363 - name : PHP Static Analysis
64- uses : php-actions/phpstan@v2
64+ uses : php-actions/phpstan@v3
6565 with :
66- path : src/
66+ path : src/
0 commit comments