Skip to content

Commit

Permalink
ci: update to test PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Mar 24, 2023
1 parent eda14b7 commit 0a00091
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,13 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
extensions: zip
tools: composer
coverage: none

- name: Install PHP dependencies
uses: ramsey/composer-install@v1
with:
dependency-versions: highest
composer-options: "--prefer-dist"
- name: Install Dependencies
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist --no-progress --ansi

- name: Run Pint
run: vendor/bin/pint --test --ansi
Expand All @@ -46,7 +43,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
tools: composer
coverage: none

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
php: ['8.1']
php: ['8.1', '8.2']
dependency-version: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}

steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down

0 comments on commit 0a00091

Please sign in to comment.