-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Drop support for composer/composer:^1.0.0
- Loading branch information
1 parent
ea111dc
commit 5413856
Showing
7 changed files
with
219 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ on: # yamllint disable-line rule:truthy | |
- "main" | ||
|
||
env: | ||
COMPOSER_VERSION: "1.10.17" | ||
COMPOSER_VERSION: "2.0.4" | ||
ERGEBNIS_BOT_NAME: "ergebnis-bot" | ||
PHP_EXTENSIONS: "mbstring" | ||
PHP_INI_VALUES: "memory_limit=-1, phar.readonly=0" | ||
|
@@ -201,29 +201,13 @@ jobs: | |
- "7.2" | ||
- "7.3" | ||
- "7.4" | ||
|
||
composer-version: | ||
- "1" | ||
- "2" | ||
- "8.0" | ||
|
||
dependencies: | ||
- "lowest" | ||
- "locked" | ||
- "highest" | ||
|
||
include: | ||
- php-version: "8.0" | ||
composer-version: "2" | ||
dependencies: "lowest" | ||
|
||
- php-version: "8.0" | ||
composer-version: "2" | ||
dependencies: "locked" | ||
|
||
- php-version: "8.0" | ||
composer-version: "2" | ||
dependencies: "highest" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/[email protected]" | ||
|
@@ -239,17 +223,6 @@ jobs: | |
- name: "Set up problem matchers for phpunit/phpunit" | ||
run: "echo \"::add-matcher::${{ runner.tool_cache }}/phpunit.json\"" | ||
|
||
- name: "Install composer:^1" | ||
if: "matrix.composer-version == '1'" | ||
run: "composer self-update ${{ env.COMPOSER_VERSION }}" | ||
|
||
- name: "Install composer:^2" | ||
if: "matrix.composer-version == '2'" | ||
run: "composer self-update --snapshot" | ||
|
||
- name: "Show composer version" | ||
run: "composer --version" | ||
|
||
- name: "Determine composer cache directory" | ||
uses: "./.github/actions/composer/composer/determine-cache-directory" | ||
|
||
|
@@ -368,9 +341,6 @@ jobs: | |
with: | ||
dependencies: "${{ matrix.dependencies }}" | ||
|
||
- name: "Remove composer/composer" | ||
run: "composer remove composer/composer --no-interaction --no-progress" | ||
|
||
- name: "Require composer/composer" | ||
run: "composer require composer/composer:${{ env.COMPOSER_VERSION }} --no-interaction --no-progress" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.