diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a0fdd6ac..c1ca1899 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,8 +1,5 @@ name: CI -env: - COMPOSER_ROOT_VERSION: ${{ env.version }} - on: push: branches: @@ -32,6 +29,8 @@ jobs: - uses: ramsey/composer-install@v2 with: dependency-versions: highest + env: + COMPOSER_ROOT_VERSION: ${{ env.version }} - name: Run code style check run: composer run-script check-cs -- --format=checkstyle | cs2pr @@ -63,6 +62,8 @@ jobs: - uses: ramsey/composer-install@v2 with: dependency-versions: highest + env: + COMPOSER_ROOT_VERSION: ${{ env.version }} - name: Setup problem matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" @@ -115,6 +116,8 @@ jobs: - uses: ramsey/composer-install@v2 with: dependency-versions: highest + env: + COMPOSER_ROOT_VERSION: ${{ env.version }} - name: Setup problem matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" @@ -168,6 +171,8 @@ jobs: - uses: ramsey/composer-install@v2 with: dependency-versions: highest + env: + COMPOSER_ROOT_VERSION: ${{ env.version }} - name: Setup problem matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"