From 98778052bb747a7b066d02df737b611c8b68fb64 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 20 Aug 2022 16:32:36 +0100 Subject: [PATCH] actions: start building on 8.1 --- .github/workflows/main.yml | 20 ++++++++++---------- .github/workflows/update-php-versions.php | 3 ++- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4e31bd309..8ee949272 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,11 +13,11 @@ jobs: strategy: matrix: image: [ubuntu-20.04] - php: [8.0.18] + php: [8.0.22, 8.1.9] steps: - name: Build and prepare PHP cache - uses: pmmp/setup-php-action@aa636a4fe0c1c035fd9a3f05e360eadd86e06440 + uses: pmmp/setup-php-action@f8bacc158e731ce69708390b6cce73c64aa369e0 with: php-version: ${{ matrix.php }} install-path: "./bin" @@ -31,13 +31,13 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [8.0.18] + php: [8.0.22, 8.1.9] steps: - uses: actions/checkout@v3 - name: Setup PHP - uses: pmmp/setup-php-action@aa636a4fe0c1c035fd9a3f05e360eadd86e06440 + uses: pmmp/setup-php-action@f8bacc158e731ce69708390b6cce73c64aa369e0 with: php-version: ${{ matrix.php }} install-path: "./bin" @@ -69,13 +69,13 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [8.0.18] + php: [8.0.22, 8.1.9] steps: - uses: actions/checkout@v3 - name: Setup PHP - uses: pmmp/setup-php-action@aa636a4fe0c1c035fd9a3f05e360eadd86e06440 + uses: pmmp/setup-php-action@f8bacc158e731ce69708390b6cce73c64aa369e0 with: php-version: ${{ matrix.php }} install-path: "./bin" @@ -107,7 +107,7 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [8.0.18] + php: [8.0.22, 8.1.9] steps: - uses: actions/checkout@v3 @@ -115,7 +115,7 @@ jobs: submodules: true - name: Setup PHP - uses: pmmp/setup-php-action@aa636a4fe0c1c035fd9a3f05e360eadd86e06440 + uses: pmmp/setup-php-action@f8bacc158e731ce69708390b6cce73c64aa369e0 with: php-version: ${{ matrix.php }} install-path: "./bin" @@ -147,13 +147,13 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [8.0.18] + php: [8.0.22, 8.1.9] steps: - uses: actions/checkout@v3 - name: Setup PHP - uses: pmmp/setup-php-action@aa636a4fe0c1c035fd9a3f05e360eadd86e06440 + uses: pmmp/setup-php-action@f8bacc158e731ce69708390b6cce73c64aa369e0 with: php-version: ${{ matrix.php }} install-path: "./bin" diff --git a/.github/workflows/update-php-versions.php b/.github/workflows/update-php-versions.php index 0ba7382cf..7ff798566 100644 --- a/.github/workflows/update-php-versions.php +++ b/.github/workflows/update-php-versions.php @@ -22,7 +22,8 @@ declare(strict_types=1); const VERSIONS = [ - "8.0" + "8.0", + "8.1" ]; $workflowFile = file_get_contents(__DIR__ . '/main.yml');