From d62a4b96a6a2893061dc42a2cc3b0dac97831caa Mon Sep 17 00:00:00 2001 From: Chris Tanner Date: Sat, 28 Sep 2024 12:37:05 -0400 Subject: [PATCH] Require PHP 8.2 --- .github/workflows/php.yml | 6 +++++- composer.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 821d9dc..b0acaaa 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -12,10 +12,14 @@ permissions: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 + - name: Setup PHP without any shared extensions except mbstring + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' - name: Validate composer.json and composer.lock run: composer validate --strict diff --git a/composer.json b/composer.json index dce9c7e..76b9988 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ } }, "require": { - "php": "^8.3", + "php": "^8.2", "illuminate/support": "^11.25" }, "minimum-stability": "dev",