From d701a9e14865bcd97b0936386e424afd3b8afc7a Mon Sep 17 00:00:00 2001 From: Michelle Fich Date: Fri, 10 Jan 2025 07:17:06 +0100 Subject: [PATCH 1/3] Update to PHP 8.4 #KDS-604 --- .github/workflows/test.yml | 10 +++++----- composer.json | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e3dab0..84f519f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: Codeception tests -on: [push] +on: [ push ] jobs: build: @@ -11,13 +11,13 @@ jobs: strategy: matrix: operating-system: [ ubuntu-latest, ubuntu-20.04 ] - php: [ '8.0', '8.1' ] + php: [ '8.0', '8.1', '8.1' ] steps: - uses: actions/checkout@master - - name: Setup PHP - uses: nanasess/setup-php@master + - name: Setup PHP Action + uses: shivammathur/setup-php@master with: php-version: ${{ matrix.php }} @@ -25,4 +25,4 @@ jobs: run: composer install - name: Run tests - run: php vendor/bin/codecept run + run: composer run test diff --git a/composer.json b/composer.json index a56a829..04916e3 100644 --- a/composer.json +++ b/composer.json @@ -21,5 +21,8 @@ "nyholm/psr7": "^1.5", "codeception/codeception": "^5", "codeception/module-asserts": "^3.0" + }, + "scripts": { + "test": "codecept run" } } From e443eec25703609f3ddd89099dac2e6872ab1a5c Mon Sep 17 00:00:00 2001 From: Michelle Fich Date: Fri, 10 Jan 2025 07:17:59 +0100 Subject: [PATCH 2/3] Fix php version in test.yml #KDS-604 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 84f519f..27f4e76 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: operating-system: [ ubuntu-latest, ubuntu-20.04 ] - php: [ '8.0', '8.1', '8.1' ] + php: [ '8.0', '8.1', '8.4' ] steps: - uses: actions/checkout@master From 1479328f458f7e99c7abdb6aed180c3aafee3fb5 Mon Sep 17 00:00:00 2001 From: Michelle Fich Date: Fri, 10 Jan 2025 07:41:56 +0100 Subject: [PATCH 3/3] Set latest uuid-v4 version #KDS-604 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 04916e3..d74d85d 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "require": { "php": ">= 8.0", "psr/http-message": "^1.0", - "kodus/uuid-v4": "^1.2" + "kodus/uuid-v4": "^1.3" }, "require-dev": { "nyholm/psr7": "^1.5",