File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 COMPOSER_AUTH : ${{ secrets.COMPOSER_GITHUB_AUTH }}
66
77jobs :
8- test :
8+ test_php7-3 :
99 runs-on : ubuntu-latest
1010 steps :
1111 - name : checkout
3939 git config --global user.name "github-actions"
4040 git config --global user.email "github-actions@github.com"
4141 make integration-tests
42+ test_php8 :
43+ runs-on : ubuntu-latest
44+ steps :
45+ - name : checkout
46+ uses : actions/checkout@v2
47+
48+ - name : Setup PHP with Composer v1
49+ uses : shivammathur/setup-php@v2
50+ with :
51+ php-version : ' 8.0'
52+ tools : composer:v1
53+
54+ - name : Get Composer Cache Directory
55+ id : composer-cache
56+ run : |
57+ echo "::set-output name=dir::$(composer config cache-files-dir)"
58+ - uses : actions/cache@v2
59+ with :
60+ path : ${{ steps.composer-cache.outputs.dir }}
61+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
62+ restore-keys : |
63+ ${{ runner.os }}-composer-
64+
65+ - name : Composer Install
66+ run : composer install --no-interaction --no-progress --no-ansi
67+
68+ - name : Test
69+ run : make static-analysis unit-tests acceptance-tests coding-standards
70+
71+ - name : Integration tests
72+ run : |
73+ git config --global user.name "github-actions"
74+ git config --global user.email "github-actions@github.com"
75+ make integration-tests
Original file line number Diff line number Diff line change @@ -47,5 +47,5 @@ bin/local-security-checker:
4747 chmod a+x bin/local-security-checker
4848
4949bin/box.phar :
50- curl -LS https://github.com/humbug/box/releases/download/3.8.4 /box.phar -o bin/box.phar
50+ curl -LS https://github.com/humbug/box/releases/download/3.14.0 /box.phar -o bin/box.phar
5151 chmod a+x bin/box.phar
Original file line number Diff line number Diff line change 44 "description" : " Command line tool for releasing new versions of a project" ,
55 "license" : " MIT" ,
66 "require" : {
7- "php" : " ^7.3" ,
7+ "php" : " ^7.3||^8.0 " ,
88 "beberlei/assert" : " ^3.2" ,
99 "guzzlehttp/guzzle" : " ^6.3" ,
1010 "padraic/phar-updater" : " ^1.0" ,
1818 "leviy/coding-standard" : " ^4.0" ,
1919 "mockery/mockery" : " ^1.1" ,
2020 "phpstan/phpstan" : " ^0.12.14" ,
21- "phpunit/phpunit" : " ^8.5 " ,
21+ "phpunit/phpunit" : " ^9.0 " ,
2222 "symfony/process" : " ^5.0"
2323 },
2424 "config" : {
You can’t perform that action at this time.
0 commit comments