From d0e50aa32742298fb3e1ffbb2e4e1498afb2ef8e Mon Sep 17 00:00:00 2001 From: Naxvog Date: Tue, 1 Oct 2024 21:28:42 +0200 Subject: [PATCH] Testing gh composer workflow --- .github/workflows/static.yml | 5 +++++ .github/workflows/tests.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 2d579cc..0bdec31 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -22,6 +22,11 @@ jobs: tools: composer:v2 coverage: none + - name: Modify composer.json + run: > + jq '.name |= "pestphp/pest-plugin-arch-dev" | . += {"replace":{"pestphp/pest-plugin-arch": "*"}}' composer.json > composer.json.tmp + && mv composer.json.tmp composer.json + - name: Install Dependencies run: composer update --prefer-stable --no-interaction --no-progress --ansi diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 01a169e..dc9e799 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,6 +30,11 @@ jobs: echo "::add-matcher::${{ runner.tool_cache }}/php.json" echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" + - name: Modify composer.json + run: > + jq '.name |= "pestphp/pest-plugin-arch-dev" | . += {"replace":{"pestphp/pest-plugin-arch": "*"}}' composer.json > composer.json.tmp + && mv composer.json.tmp composer.json + - name: Install PHP dependencies run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi