Skip to content

Commit

Permalink
Test on PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Jubeki committed Sep 6, 2024
1 parent e7d1aa8 commit e432051
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -19,6 +19,9 @@ jobs:
tools: composer
coverage: none

- name: Set Collision version
run: composer config version "8.x-dev"

- name: Install Dependencies
run: composer update --no-interaction --prefer-dist --no-progress --ansi

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
php: ['8.2', '8.3']
php: ['8.2', '8.3', '8.4']
pest: ['2.30', '3.0.0']
dependency-version: [prefer-lowest, prefer-stable]

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

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -35,6 +35,9 @@ jobs:
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Set Collision version
run: composer config version "8.x-dev"

- name: Set Pest
run: composer require pestphp/pest:^${{ matrix.pest }} --dev --no-interaction --no-update

Expand Down

0 comments on commit e432051

Please sign in to comment.