From e432051395c0d16bd98c69aecb2cce378fccfdd5 Mon Sep 17 00:00:00 2001 From: Julius Kiekbusch Date: Fri, 6 Sep 2024 09:27:52 +0200 Subject: [PATCH] Test on PHP 8.4 --- .github/workflows/static.yml | 5 ++++- .github/workflows/tests.yml | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 50003ac..d016498 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a01cfe2..6ee6e74 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ 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] @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -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