Skip to content

Commit d0e50aa

Browse files
committed
Testing gh composer workflow
1 parent 98dbc7f commit d0e50aa

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/static.yml

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
tools: composer:v2
2323
coverage: none
2424

25+
- name: Modify composer.json
26+
run: >
27+
jq '.name |= "pestphp/pest-plugin-arch-dev" | . += {"replace":{"pestphp/pest-plugin-arch": "*"}}' composer.json > composer.json.tmp
28+
&& mv composer.json.tmp composer.json
29+
2530
- name: Install Dependencies
2631
run: composer update --prefer-stable --no-interaction --no-progress --ansi
2732

.github/workflows/tests.yml

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
3131
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
3232
33+
- name: Modify composer.json
34+
run: >
35+
jq '.name |= "pestphp/pest-plugin-arch-dev" | . += {"replace":{"pestphp/pest-plugin-arch": "*"}}' composer.json > composer.json.tmp
36+
&& mv composer.json.tmp composer.json
37+
3338
- name: Install PHP dependencies
3439
run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
3540

0 commit comments

Comments
 (0)