1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-17 21:38:16 +01:00

Upgrad GitHub actions (#2535)

This commit is contained in:
Graham Campbell 2020-01-02 14:09:32 +00:00 committed by Márk Sági-Kazár
parent 3cedbdfef9
commit 72a0daa010
3 changed files with 12 additions and 10 deletions

View File

@ -13,7 +13,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Install
uses: docker://composer
@ -31,7 +31,7 @@ jobs:
# steps:
# - name: Checkout code
# uses: actions/checkout@v1
# uses: actions/checkout@v2
# - name: Roave BC Check
# uses: docker://nyholm/roave-bc-check-ga

View File

@ -13,23 +13,24 @@ jobs:
steps:
- name: Set up PHP
uses: shivammathur/setup-php@1.6.2
uses: shivammathur/setup-php@1.7.0
with:
php-version: '7.2'
coverage: xdebug
ini-values: xdebug.overload_var_dump=1
extensions: mbstring, intl
tools: prestissimo
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '12.x'
- name: Setup Problem Matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Download dependencies
run: composer update --no-interaction --prefer-stable --prefer-lowest --prefer-dist
@ -47,23 +48,24 @@ jobs:
steps:
- name: Set up PHP
uses: shivammathur/setup-php@1.6.2
uses: shivammathur/setup-php@1.7.0
with:
php-version: ${{ matrix.php }}
coverage: xdebug
ini-values: xdebug.overload_var_dump=1
extensions: mbstring, intl
tools: prestissimo
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '12.x'
- name: Setup Problem Matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Download dependencies
run: composer update --no-interaction --prefer-dist

View File

@ -13,7 +13,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
@ -26,7 +26,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga