Skip to content

Commit 3ab292a

Browse files
committed
Fix build
1 parent f7eee18 commit 3ab292a

File tree

4 files changed

+19
-13
lines changed

4 files changed

+19
-13
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,19 @@ jobs:
3939
coverage: "none"
4040
php-version: "${{ matrix.php-version }}"
4141

42+
- name: "Install dependencies"
43+
run: "composer install --no-interaction --no-progress"
4244

4345
- name: "Transform source code"
4446
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3' && matrix.php-version != '8.4'
4547
run: |
4648
composer install --no-interaction --no-progress --working-dir=compiler
4749
./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
48-
50+
composer dump
4951
5052
- name: "Validate Composer"
5153
run: "composer validate"
5254

53-
- name: "Install dependencies"
54-
run: "composer install --no-interaction --no-progress"
55-
5655
- name: "Lint"
5756
run: "make lint"
5857

.github/workflows/reflection-golden-test.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,16 @@ jobs:
9696
ini-file: development
9797
ini-values: memory_limit=2G
9898

99+
- name: "Install dependencies"
100+
run: "composer install --no-interaction --no-progress"
101+
99102
- name: "Transform source code"
100103
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3' && matrix.php-version != '8.4'
101104
run: |
102105
composer install --no-interaction --no-progress --working-dir=compiler
103106
./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
107+
composer dump
104108
105-
- name: "Install dependencies"
106-
run: "composer install --no-interaction --no-progress"
107109
108110
- name: "Dump previous reflection data"
109111
run: "php tests/generate-reflection-test.php"
@@ -116,14 +118,15 @@ jobs:
116118
- name: "Checkout"
117119
uses: actions/checkout@v4
118120

121+
- name: "Install dependencies"
122+
run: "composer install --no-interaction --no-progress"
123+
119124
- name: "Transform source code"
120125
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3' && matrix.php-version != '8.4'
121126
run: |
122127
composer install --no-interaction --no-progress --working-dir=compiler
123128
./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
124-
125-
- name: "Install dependencies"
126-
run: "composer install --no-interaction --no-progress"
129+
composer dump
127130
128131
- name: "Reflection golden test"
129132
run: "make tests-golden-reflection || true"

.github/workflows/static-analysis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,17 @@ jobs:
4848
ini-file: development
4949
extensions: mbstring
5050

51+
- name: "Install dependencies"
52+
run: "composer install --no-interaction --no-progress"
53+
5154
- name: "Transform source code"
5255
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3' && matrix.php-version != '8.4'
5356
shell: bash
5457
run: |
5558
composer install --no-interaction --no-progress --working-dir=compiler
5659
./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
60+
composer dump
5761
58-
- name: "Install dependencies"
59-
run: "composer install --no-interaction --no-progress"
6062
6163
- name: "PHPStan"
6264
run: "make phpstan"

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,17 @@ jobs:
5454
ini-file: development
5555
ini-values: memory_limit=2G
5656

57+
- name: "Install dependencies"
58+
run: "composer install --no-interaction --no-progress"
59+
5760
- name: "Transform source code"
5861
if: matrix.php-version != '8.1' && matrix.php-version != '8.2' && matrix.php-version != '8.3' && matrix.php-version != '8.4'
5962
shell: bash
6063
run: |
6164
composer install --no-interaction --no-progress --working-dir=compiler
6265
./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
66+
composer dump
6367
64-
- name: "Install dependencies"
65-
run: "composer install --no-interaction --no-progress"
6668
6769
- name: "Tests"
6870
run: "make tests"

0 commit comments

Comments
 (0)