diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f6cc82e..64af7dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,9 @@ jobs: name: "Lint" runs-on: "ubuntu-latest" + env: + COMPOSER_IGNORE_PLATFORM_REQ: "${{ matrix.php-version == '8.6' && 'php+' || '' }}" # PHP 8.6 is a pre-release; dependencies don't allow it yet + strategy: matrix: php-version: @@ -26,6 +29,7 @@ jobs: - "8.3" - "8.4" - "8.5" + - "8.6" steps: - name: Harden the runner (Audit all outbound calls) @@ -98,6 +102,9 @@ jobs: name: "Tests" runs-on: "ubuntu-latest" + env: + COMPOSER_IGNORE_PLATFORM_REQ: "${{ matrix.php-version == '8.6' && 'php+' || '' }}" # PHP 8.6 is a pre-release; dependencies don't allow it yet + strategy: fail-fast: false matrix: @@ -109,6 +116,7 @@ jobs: - "8.3" - "8.4" - "8.5" + - "8.6" dependencies: - "lowest" - "highest" @@ -143,6 +151,9 @@ jobs: name: "PHPStan" runs-on: "ubuntu-latest" + env: + COMPOSER_IGNORE_PLATFORM_REQ: "${{ matrix.php-version == '8.6' && 'php+' || '' }}" # PHP 8.6 is a pre-release; dependencies don't allow it yet + strategy: fail-fast: false matrix: @@ -154,6 +165,7 @@ jobs: - "8.3" - "8.4" - "8.5" + - "8.6" dependencies: - "lowest" - "highest"