Make WordPress Core


Ignore:
Timestamp:
11/19/2021 07:21:36 PM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Add the ruleset file to the cache key for PHPCS and PHP compatibility scans.

This ensures that the cache is busted properly when the ruleset is adjusted but the composer.json file is not.

See #54425.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/coding-standards.yml

    r52183 r52220  
    8787        with:
    8888          path: .cache/phpcs.json
    89           key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json') }}
     89          key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json', 'phpcs.xml.dist') }}
    9090
    9191      - name: Install Composer dependencies
Note: See TracChangeset for help on using the changeset viewer.