Changeset 53597 for branches/5.8/.github/workflows/php-compatibility.yml
- Timestamp:
- 06/30/2022 04:26:30 PM (4 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
.github/workflows/php-compatibility.yml (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
- Property svn:mergeinfo changed
/trunk merged: 51921,51924-51925,51937,52002,52130,52183,52233,53112,53581-53582,53592
- Property svn:mergeinfo changed
-
branches/5.8/.github/workflows/php-compatibility.yml
r51357 r53597 5 5 push: 6 6 branches: 7 - master8 7 - trunk 9 8 - '5.[5-9]' … … 14 13 pull_request: 15 14 branches: 16 - master17 15 - trunk 18 16 - '5.[5-9]' … … 45 43 # - Checks out the repository. 46 44 # - Sets up PHP. 47 # - Logs debug information about the runner container.45 # - Logs debug information about the GitHub Action runner. 48 46 # - Installs Composer dependencies (use cache if possible). 49 47 # - Make Composer packages available globally. … … 52 50 # - Ensures version-controlled files are not modified or deleted. 53 51 # - todo: Configure Slack notifications for failing scans. 54 php-com atibility:52 php-compatibility: 55 53 name: Check PHP compatibility 56 54 runs-on: ubuntu-latest 55 timeout-minutes: 20 57 56 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 58 57 59 58 steps: 60 59 - name: Checkout repository 61 uses: actions/checkout@ 5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.460 uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 62 61 63 62 - name: Set up PHP 64 uses: shivammathur/setup-php@ afefcaf556d98dc7896cca380e181decb609ca44 # v2.10.063 uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # v2.19.1 65 64 with: 66 65 php-version: '7.4' … … 74 73 75 74 - name: Install Composer dependencies 76 uses: ramsey/composer-install@ 92a7904348d4ad30236f3611e33b7f0c6f9edd70 # v1.1.075 uses: ramsey/composer-install@f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.0 77 76 with: 78 77 composer-options: "--no-progress --no-ansi --no-interaction" … … 89 88 - name: Ensure version-controlled files are not modified or deleted 90 89 run: git diff --exit-code 90 91 slack-notifications: 92 name: Slack Notifications 93 uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk 94 needs: [ php-compatibility ] 95 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }} 96 with: 97 calling_status: ${{ needs.php-compatibility.result == 'success' && 'success' || needs.php-compatibility.result == 'cancelled' && 'cancelled' || 'failure' }} 98 secrets: 99 SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }} 100 SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }} 101 SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }} 102 SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
Note: See TracChangeset
for help on using the changeset viewer.