From bbcc9646ca1db5f6e493ca98cc8c93cc804a6c66 Mon Sep 17 00:00:00 2001 From: Fernando Herrero Date: Sun, 21 Jul 2024 19:23:54 +0200 Subject: [PATCH] COMPOSER_ROOT_VERSION --- .github/workflows/php.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 2703f6f..6569969 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -5,6 +5,9 @@ on: [push, pull_request] permissions: contents: read +env: + COMPOSER_ROOT_VERSION: dev-main + jobs: build: @@ -13,6 +16,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Validate composer.json and composer.lock + uses: php-actions/composer@v6 + with: + command: validate --strict + - name: Cache Composer packages id: composer-cache uses: actions/cache@v4 @@ -27,10 +35,5 @@ jobs: with: args: --prefer-dist --no-progress - - name: Validate composer.json and composer.lock - uses: php-actions/composer@v6 - with: - command: validate --strict - - name: Run test suite uses: php-actions/phpunit@v4