From 04b06e7f5ef37d814aeb3f4b6015b65a9d4412c5 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sun, 5 Sep 2021 20:12:19 +0100 Subject: [PATCH] Support PHP 8.1 (#43) --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d528a2..e91212d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v2 - name: Install dependencies - run: composer update --no-interaction --prefer-stable --prefer-lowest --no-progress --prefer-dist + run: composer update --no-interaction --prefer-stable --prefer-lowest --no-progress - name: Run tests run: make test @@ -34,7 +34,7 @@ jobs: strategy: max-parallel: 10 matrix: - php: ['7.2', '7.3', '7.4', '8.0'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1'] steps: - name: Set up PHP @@ -47,8 +47,12 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Mimic PHP 8.0 + run: composer config platform.php 8.0.999 + if: matrix.php > 8 + - name: Install dependencies - run: composer update --no-interaction --no-progress --prefer-dist + run: composer update --no-interaction --no-progress - name: Run tests run: make test