Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Actions: update PHP versions in workflows #130

Merged
merged 1 commit into from
Dec 11, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
verify:
name: Validate binary on PHP ${{ matrix.php }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.php == '8.2' }}
continue-on-error: ${{ matrix.php == '8.3' }}
needs:
- bundle

Expand All @@ -81,6 +81,7 @@ jobs:
- '8.0'
- '8.1'
- '8.2'
- '8.3'

steps:
- name: Checkout code
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: 'latest'
coverage: none
tools: cs2pr

Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
test:
name: Run tests on PHP ${{ matrix.php }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.php == '8.2' }}
continue-on-error: ${{ matrix.php == '8.3' }}
needs:
- bundle

Expand All @@ -105,6 +105,7 @@ jobs:
- '8.0'
- '8.1'
- '8.2'
- '8.3'

steps:
- name: Checkout code
Expand All @@ -123,11 +124,11 @@ jobs:
run: composer remove --dev php-parallel-lint/php-code-style --no-update --no-interaction

- name: Install Composer dependencies
if: ${{ matrix.php != '8.2' }}
if: ${{ matrix.php != '8.3' }}
uses: ramsey/composer-install@v2

- name: "Install Composer dependencies (PHP 8.2, ignore PHP reqs)"
if: ${{ matrix.php == '8.2' }}
- name: "Install Composer dependencies (PHP 8.3, ignore PHP reqs)"
if: ${{ matrix.php == '8.3' }}
uses: ramsey/composer-install@v2
with:
composer-options: --ignore-platform-req=php
Expand Down