Skip to content

Commit c31e09e

Browse files
katinthehatsiteKateryna Kodonenko
andauthored
Ensure we use a stable composer version (#25)
Co-authored-by: Kateryna Kodonenko <kateryna@automattic.com>
1 parent 26cade0 commit c31e09e

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎.github/workflows/testing.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ jobs:
1212
uses: wp-cli/.github/.github/workflows/reusable-testing.yml@main
1313
with:
1414
minimum-php: "7.4"
15+
matrix: '{ "exclude": [{ "os": "windows-latest" }] }'

‎composer.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@
2323
"email": "jeroen.pfeil@automattic.com"
2424
}
2525
],
26-
"minimum-stability": "dev",
27-
"prefer-stable": true,
2826
"require": {
2927
"php": ">=7.4",
30-
"wp-cli/wp-cli": "^2.13"
28+
"wp-cli/wp-cli": "^2.12"
3129
},
3230
"require-dev": {
3331
"wp-cli/wp-cli-tests": "^5.0",
@@ -54,6 +52,9 @@
5452
"allow-plugins": {
5553
"dealerdirect/phpcodesniffer-composer-installer": true,
5654
"phpstan/extension-installer": true
55+
},
56+
"platform": {
57+
"php": "7.4"
5758
}
5859
}
5960
}

0 commit comments

Comments
 (0)