From 1a331c80825f15185f57baf7e88eb3bf14d20d29 Mon Sep 17 00:00:00 2001 From: Daniel Ronkainen Date: Mon, 9 Mar 2026 19:55:24 +0100 Subject: [PATCH] build add COMPOSER_ROOT_VERSION php.yml file --- .github/workflows/php.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index b3fb3fa..e09beb3 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -2,9 +2,9 @@ name: PHP Unitary on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] workflow_dispatch: permissions: @@ -12,14 +12,14 @@ permissions: jobs: build: - runs-on: ubuntu-latest + env: + COMPOSER_ROOT_VERSION: 2.x-dev steps: - uses: actions/checkout@v4 - name: Cache Composer packages - id: composer-cache uses: actions/cache@v3 with: path: vendor @@ -31,4 +31,4 @@ jobs: run: composer install --prefer-dist --no-progress - name: Run test suite - run: php vendor/bin/unitary + run: php vendor/bin/unitary \ No newline at end of file