Skip to content

Commit 8c854b1

Browse files
committed
Fix GH actions
1 parent 2bbf832 commit 8c854b1

9 files changed

+25
-7
lines changed

.github/workflows/reusable-coveralls.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
1820

1921
- name: Setup PHP
2022
uses: shivammathur/setup-php@v2

.github/workflows/reusable-phpunit-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ jobs:
150150
151151
- name: Checkout
152152
uses: actions/checkout@v4
153+
with:
154+
fetch-depth: 0
153155

154156
- name: Setup PHP
155157
uses: shivammathur/setup-php@v2

.github/workflows/reusable-serviceless-phpunit-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ jobs:
6262
6363
- name: Checkout
6464
uses: actions/checkout@v4
65+
with:
66+
fetch-depth: 0
6567

6668
- name: Setup PHP
6769
uses: shivammathur/setup-php@v2

.github/workflows/test-autoreview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
steps:
3838
- name: Checkout
3939
uses: actions/checkout@v4
40+
with:
41+
fetch-depth: 0
4042

4143
- name: Setup PHP
4244
uses: shivammathur/setup-php@v2

.github/workflows/test-coding-standards.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
steps:
3535
- name: Checkout
3636
uses: actions/checkout@v4
37+
with:
38+
fetch-depth: 0
3739

3840
- name: Setup PHP
3941
uses: shivammathur/setup-php@v2
@@ -58,13 +60,13 @@ jobs:
5860
run: composer update --ansi --no-interaction
5961

6062
- name: Run lint on `app/`, `admin/`, `public/`
61-
run: vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --config=.php-cs-fixer.no-header.php --using-cache=no --diff
63+
run: utils/vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --config=.php-cs-fixer.no-header.php --using-cache=no --diff
6264

6365
- name: Run lint on `system/`, `utils/`, and root PHP files
64-
run: vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --using-cache=no --diff
66+
run: utils/vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --using-cache=no --diff
6567

6668
- name: Run lint on `tests`
67-
run: vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --config=.php-cs-fixer.tests.php --using-cache=no --diff
69+
run: utils/vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --config=.php-cs-fixer.tests.php --using-cache=no --diff
6870

6971
- name: Run lint on `user_guide_src/source/`
70-
run: vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --config=.php-cs-fixer.user-guide.php --using-cache=no --diff
72+
run: utils/vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --config=.php-cs-fixer.user-guide.php --using-cache=no --diff

.github/workflows/test-deptrac.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
steps:
3939
- name: Checkout
4040
uses: actions/checkout@v4
41+
with:
42+
fetch-depth: 0
4143

4244
- name: Setup PHP
4345
uses: shivammathur/setup-php@v2

.github/workflows/test-phpstan.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
steps:
4848
- name: Checkout
4949
uses: actions/checkout@v4
50+
with:
51+
fetch-depth: 0
5052

5153
- name: Setup PHP
5254
uses: shivammathur/setup-php@v2
@@ -85,4 +87,4 @@ jobs:
8587
run: composer update --ansi --no-interaction
8688

8789
- name: Run static analysis
88-
run: vendor/bin/phpstan analyse
90+
run: utils/vendor/bin/phpstan analyse

.github/workflows/test-psalm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
steps:
3030
- name: Checkout
3131
uses: actions/checkout@v4
32+
with:
33+
fetch-depth: 0
3234

3335
- name: Setup PHP
3436
uses: shivammathur/setup-php@v2
@@ -68,4 +70,4 @@ jobs:
6870
fi
6971
7072
- name: Run Psalm analysis
71-
run: vendor/bin/psalm
73+
run: utils/vendor/bin/psalm

.github/workflows/test-rector.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ jobs:
4949
steps:
5050
- name: Checkout
5151
uses: actions/checkout@v4
52+
with:
53+
fetch-depth: 0
5254

5355
- name: Setup PHP
5456
uses: shivammathur/setup-php@v2
@@ -85,4 +87,4 @@ jobs:
8587
- run: mkdir -p /tmp/rector
8688

8789
- name: Run static analysis
88-
run: vendor/bin/rector process --dry-run --no-progress-bar
90+
run: utils/vendor/bin/rector process --dry-run --no-progress-bar

0 commit comments

Comments
 (0)