From 77a91b2dc0da9ee7155a065e686157e772434e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 12 May 2024 06:53:10 +0200 Subject: [PATCH 1/3] Fix CI workflow --- .github/workflows/ci.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c52ec1..0a7a66d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,20 +16,21 @@ jobs: strategy: fail-fast: false matrix: - php: [ - 7.0, - 7.1, - 7.2, - 7.3, - 7.4, - 8.0, - 8.1 - ] + php: + - '7.0' + - '7.1' + - '7.2' + - '7.3' + - '7.4' + - '8.0' + - '8.1' composer: [basic] timeout-minutes: 10 steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup PHP uses: shivammathur/setup-php@2.9.0 From bb87cdde2e35ac5e1907933d077848222badf2ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 12 May 2024 06:56:15 +0200 Subject: [PATCH 2/3] downgrade Composer --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a7a66d..e8bd847 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: php-version: ${{ matrix.php }} coverage: xdebug extensions: zip - tools: composer + tools: 'composer:2.2' - name: Determine composer cache directory id: composer-cache From 503dac2161079a2320e63e65436634e165d2f9b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 12 May 2024 07:01:49 +0200 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8bd847..7025e2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: fetch-depth: 0 - name: Setup PHP - uses: shivammathur/setup-php@2.9.0 + uses: shivammathur/setup-php@2.30.4 with: php-version: ${{ matrix.php }} coverage: xdebug