Skip to content

Commit b0ec7ed

Browse files
committed
Fix CI/CD
1 parent cf45d97 commit b0ec7ed

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
timeout_minutes: 5
4141
max_attempts: 5
42-
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
42+
command: COMPOSER_ROOT_VERSION=dev-master composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
4343

4444
- name: Execute tests
4545
run: vendor/bin/phpunit --verbose

.github/workflows/static-analysis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@ jobs:
4141
php-version: "${{ matrix.php-version }}"
4242
tools: "cs2pr"
4343

44-
- name: "Install dependencies with Composer"
45-
uses: "ramsey/composer-install@v1"
44+
- name: Install dependencies
45+
uses: nick-invision/retry@v1
46+
with:
47+
timeout_minutes: 5
48+
max_attempts: 5
49+
command: COMPOSER_ROOT_VERSION=dev-master composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
4650

4751
- name: "Run a static analysis with phpstan/phpstan"
4852
run: "vendor/bin/phpstan --error-format=checkstyle | cs2pr"

0 commit comments

Comments
 (0)