Skip to content

Upgrade GitHub actions #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Install
uses: docker://composer
Expand All @@ -25,13 +25,14 @@ jobs:
with:
args: composer normalize --dry-run

roave-bc-check:
name: Roave BC Check
runs-on: ubuntu-latest
# Disabled until https://github.com/Roave/BackwardCompatibilityCheck/issues/37 is resolved
# roave-bc-check:
# name: Roave BC Check
# runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v1
# steps:
# - name: Checkout code
# uses: actions/checkout@v2

- name: Roave BC Check
uses: docker://nyholm/roave-bc-check-ga
# - name: Roave BC Check
# uses: docker://nyholm/roave-bc-check-ga
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ jobs:

steps:
- name: Set up PHP
uses: shivammathur/setup-php@1.6.2
uses: shivammathur/setup-php@1.7.0
with:
php-version: '7.1'
coverage: xdebug
extensions: mbstring
tools: prestissimo

- 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 --prefer-stable --prefer-dist --no-interaction --no-progress --no-suggest --prefer-lowest
Expand All @@ -41,16 +42,17 @@ 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 }}
extensions: mbstring
tools: prestissimo

- 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 --prefer-stable --prefer-dist --no-interaction --no-progress --no-suggest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: PHPStan
uses: docker://oskarstark/phpstan-ga
Expand All @@ -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
Expand Down