Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa0f839

Browse files
committed
Fix ci
1 parent bd6cda2 commit fa0f839

7 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/autoloader.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
extensions: "intl, zip"
3434
ini-values: "memory_limit=-1"
3535
php-version: "5.6"
36+
tools: "composer:snapshot"
3637

3738
- name: "Check the autoloader can be executed"
3839
run: "php main.php"

.github/workflows/conductor.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
with:
2929
php-version: "latest"
3030
coverage: "none"
31+
tools: "composer:snapshot"
3132

3233
# See the Conductor GitHub Action at https://github.com/packagist/conductor-github-action
3334
- name: "Running Conductor"

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
extensions: "intl, zip"
7676
ini-values: "memory_limit=-1, phar.readonly=0, error_reporting=E_ALL, display_errors=On, display_startup_errors=On"
7777
php-version: "${{ matrix.php-version }}"
78-
tools: composer
78+
tools: "composer:snapshot"
7979

8080
- name: "Handle lowest dependencies update"
8181
if: "contains(matrix.dependencies, 'lowest')"
@@ -146,7 +146,7 @@ jobs:
146146
extensions: "intl, zip"
147147
ini-values: "memory_limit=-1, phar.readonly=0, error_reporting=E_ALL, display_errors=On, display_startup_errors=On"
148148
php-version: "7.4"
149-
tools: composer
149+
tools: "composer:snapshot"
150150

151151
- name: "Install dependencies"
152152
run: "composer install ${{ env.COMPOSER_FLAGS }}"

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
with:
3131
php-version: "${{ matrix.php-version }}"
3232
coverage: none
33+
tools: "composer:snapshot"
3334

3435
- uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # 3.1.1
3536
with:

.github/workflows/php32bit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
extensions: "intl, zip"
3131
ini-values: "memory_limit=-1, phar.readonly=0, error_reporting=E_ALL, display_errors=On, display_startup_errors=On"
3232
php-version: "8.4"
33-
tools: composer
33+
tools: "composer:snapshot"
3434

3535
- name: "Install dependencies from composer.lock using composer binary provided by system"
3636
run: "composer install ${{ env.COMPOSER_FLAGS }}"

.github/workflows/phpstan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
extensions: "intl, zip"
4141
ini-values: "memory_limit=-1"
4242
php-version: "${{ matrix.php-version }}"
43+
tools: "composer:snapshot"
4344

4445
- name: "Determine composer cache directory"
4546
id: "determine-composer-cache-directory"

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
extensions: "intl"
2929
ini-values: "memory_limit=-1"
3030
php-version: "8.4"
31+
tools: "composer:snapshot"
3132

3233
- name: "Install dependencies from composer.lock using composer binary provided by system"
3334
run: "composer install ${{ env.COMPOSER_FLAGS }}"

0 commit comments

Comments
 (0)