From 98cd2ab1de9b2dd3878934fce56781003bcf84ca Mon Sep 17 00:00:00 2001 From: William Desportes Date: Mon, 29 May 2023 11:25:38 +0200 Subject: [PATCH] Fix the workflow for PSR-7 libraries Ref: 3b4b4e287abac0abc7713eda7598485b4bbfd932 Signed-off-by: William Desportes --- .github/workflows/tests.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7e66a62b96..b905afe3b6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -199,11 +199,9 @@ jobs: php-version: ['7.2'] os: [ubuntu-latest] php-extensions: ['mbstring, iconv, mysqli, zip, bz2'] - psr-7-library: ['guzzlehttp/psr7'] + psr-7-library: ['guzzlehttp/psr7', 'slim/psr7', 'nyholm/psr7'] include: - {psr-7-library: 'laminas/laminas-diactoros', php-version: '7.4'} - # https://github.com/slimphp/Slim-Psr7/issues/284 - - {psr-7-library: 'slim/psr7', php-version: '7.3'} steps: - name: Checkout code uses: actions/checkout@v3 @@ -230,7 +228,7 @@ jobs: dependency-versions: highest - name: Remove default PSR-7 implementation - run: composer remove nyholm/psr7 + run: composer remove slim/psr7 - name: Add PSR-7 implementation run: composer require ${{ matrix.psr-7-library }}