Skip to content

Commit a1e6ccb

Browse files
committed
Bump wp-cli/.github shared workflows
The pinned version installs PHP on macOS through Homebrew (setup-php 2.37.2), which is slow and can fail. A macOS job on main spent 25 minutes in setup and then failed before running any tests. The current version uses setup-php 2.40.0, which installs prebuilt PHP builds in seconds. It also runs the allowed-to-fail jobs (macOS, Windows, MariaDB, PHP nightly) only on a nightly schedule, not on pushes or pull requests.
1 parent 1e95555 commit a1e6ccb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/code-quality.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ on:
99

1010
jobs:
1111
code-quality:
12-
uses: wp-cli/.github/.github/workflows/reusable-code-quality.yml@5a55e811a46f1ac4946dbd337b74ea7f23ebe014 # main
12+
uses: wp-cli/.github/.github/workflows/reusable-code-quality.yml@c819f58d5eb141a15043a762e4a6099941cc8ea6 # main

‎.github/workflows/testing.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
test:
12-
uses: wp-cli/.github/.github/workflows/reusable-testing.yml@4c37c47e01b5d1fe256edf40de33454d8bee37d4 # main
12+
uses: wp-cli/.github/.github/workflows/reusable-testing.yml@c819f58d5eb141a15043a762e4a6099941cc8ea6 # main
1313
with:
1414
minimum-php: "7.4"
1515
matrix: '{ "exclude": [{ "os": "windows-latest" }] }'

0 commit comments

Comments
 (0)