Changeset 50296 for branches/5.6/.github/workflows/php-compatibility.yml
- Timestamp:
- 02/12/2021 02:53:59 PM (4 years ago)
- Location:
- branches/5.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6
- Property svn:mergeinfo changed
/trunk merged: 49781-49784,49786,49836,49938,50268,50285
- Property svn:mergeinfo changed
-
branches/5.6/.github/workflows/php-compatibility.yml
r49175 r50296 18 18 # Performs the following steps: 19 19 # - Checks out the repository. 20 # - Configures caching for Composer.21 20 # - Sets up PHP. 22 21 # - Logs debug information about the runner container. 23 # - Installs Composer dependencies (from cache if possible). 22 # - Installs Composer dependencies (use cache if possible). 23 # - Make Composer packages available globally. 24 24 # - Logs PHP_CodeSniffer debug information. 25 25 # - Runs the PHP compatibility tests. … … 28 28 name: Check PHP compatibility 29 29 runs-on: ubuntu-latest 30 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 30 31 31 32 steps: 32 33 - name: Checkout repository 33 34 uses: actions/checkout@v2 34 35 - name: Get Composer cache directory36 id: composer-cache37 run: echo "::set-output name=dir::$(composer config cache-files-dir)"38 39 - name: Set up Composer caching40 uses: actions/cache@v241 env:42 cache-name: cache-composer-dependencies43 with:44 path: ${{ steps.composer-cache.outputs.dir }}45 key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}46 restore-keys: |47 ${{ runner.os }}-composer-48 35 49 36 - name: Set up PHP … … 60 47 61 48 - name: Install Composer dependencies 62 run: | 63 composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction 64 echo "${PWD}/vendor/bin" >> $GITHUB_PATH 49 uses: ramsey/composer-install@v1 50 with: 51 composer-options: "--no-progress --no-ansi --no-interaction" 52 53 - name: Make Composer packages available globally 54 run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH 65 55 66 56 - name: Log PHPCS debug information
Note: See TracChangeset
for help on using the changeset viewer.