diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e3dab0..27f4e76 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.4' ] 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..d74d85d 100644 --- a/composer.json +++ b/composer.json @@ -15,11 +15,14 @@ "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", "codeception/codeception": "^5", "codeception/module-asserts": "^3.0" + }, + "scripts": { + "test": "codecept run" } }