Changeset 55357 for branches/6.1/.github/workflows/php-compatibility.yml
- Timestamp:
- 02/17/2023 07:51:16 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1/.github/workflows/php-compatibility.yml
r54681 r55357 47 47 # - Logs debug information. 48 48 # - Configures caching for PHP compatibility scans. 49 # - Installs Composer dependencies (use cache if possible).49 # - Installs Composer dependencies. 50 50 # - Make Composer packages available globally. 51 # - Logs PHP_CodeSniffer debug information.52 51 # - Runs the PHP compatibility tests. 52 # - Generate a report for displaying issues as pull request annotations. 53 53 # - Ensures version-controlled files are not modified or deleted. 54 54 php-compatibility: … … 60 60 steps: 61 61 - name: Checkout repository 62 uses: actions/checkout@ 93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.062 uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 63 63 64 64 - name: Set up PHP 65 uses: shivammathur/setup-php@ e04e1d97f0c0481c6e1ba40f8a538454fe5d7709 # v2.21.265 uses: shivammathur/setup-php@8e2ac35f639d3e794c1da1f28999385ab6fdf0fc # v2.23.0 66 66 with: 67 67 php-version: '7.4' 68 68 coverage: none 69 tools: c omposer, cs2pr69 tools: cs2pr 70 70 71 71 - name: Log debug information 72 72 run: | 73 php --version74 73 composer --version 75 74 … … 81 80 82 81 - name: Cache PHP compatibility scan cache 83 uses: actions/cache@ 9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.1182 uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3 84 83 with: 85 84 path: .cache/phpcompat.json 86 85 key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcompat-cache-${{ hashFiles('**/composer.json', 'phpcompat.xml.dist') }} 87 86 87 # Since Composer dependencies are installed using `composer update` and no lock file is in version control, 88 # passing a custom cache suffix ensures that the cache is flushed at least once per week. 88 89 - name: Install Composer dependencies 89 uses: ramsey/composer-install@ f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.090 uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0 90 91 with: 91 c omposer-options: "--no-progress --no-ansi"92 custom-cache-suffix: ${{ steps.get-date.outputs.date }} 92 93 93 94 - name: Make Composer packages available globally 94 95 run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH 95 96 - name: Log PHPCS debug information97 run: phpcs -i98 96 99 97 - name: Run PHP compatibility tests … … 136 134 steps: 137 135 - name: Dispatch workflow run 138 uses: actions/github-script@ 100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2136 uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0 139 137 with: 140 138 retries: 2
Note: See TracChangeset
for help on using the changeset viewer.