Changeset 52179
- Timestamp:
- 11/16/2021 02:17:26 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r52130 r52179 49 49 # - Sets up PHP. 50 50 # - Logs debug information. 51 # - Configures caching for PHPCS scans. 51 52 # - Installs Composer dependencies (use cache if possible). 52 53 # - Make Composer packages available globally. … … 75 76 php --version 76 77 composer --version 78 79 # This date is used to ensure that the PHPCS cache is cleared at least once every week. 80 # http://man7.org/linux/man-pages/man1/date.1.html 81 - name: "Get last Monday's date" 82 id: get-date 83 run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")" 84 85 - name: Cache PHPCS scan cache 86 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 87 with: 88 path: .cache/phpcs.json 89 key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json') }} 77 90 78 91 - name: Install Composer dependencies -
trunk/.github/workflows/php-compatibility.yml
r52130 r52179 21 21 # These files configure Composer. Changes could affect the outcome. 22 22 - 'composer.*' 23 # This file configures PHP Compatibility scanning. Changes could affect the outcome.23 # This file configures PHP compatibility scanning. Changes could affect the outcome. 24 24 - 'phpcompat.xml.dist' 25 25 # Changes to workflow files should always verify all workflows are successful. … … 43 43 # - Checks out the repository. 44 44 # - Sets up PHP. 45 # - Logs debug information about the runner container. 45 # - Logs debug information. 46 # - Configures caching for PHP compatibility scans. 46 47 # - Installs Composer dependencies (use cache if possible). 47 48 # - Make Composer packages available globally. … … 69 70 php --version 70 71 composer --version 72 73 # This date is used to ensure that the PHP compatibility cache is cleared at least once every week. 74 # http://man7.org/linux/man-pages/man1/date.1.html 75 - name: "Get last Monday's date" 76 id: get-date 77 run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")" 78 79 - name: Cache PHP compatibility scan cache 80 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 81 with: 82 path: .cache/phpcompat.json 83 key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcompat-cache-${{ hashFiles('**/composer.json') }} 71 84 72 85 - name: Install Composer dependencies -
trunk/.gitignore
r52081 r52179 11 11 /.phpcs.xml 12 12 /phpcs.xml 13 .cache/* 13 14 /tests/phpunit/data/plugins/wordpress-importer 14 15 /tests/phpunit/data/.trac-ticket-cache* -
trunk/phpcompat.xml.dist
r52148 r52179 12 12 13 13 <!-- Whenever possible, cache the scan results and re-use those for unchanged files on the next scan. --> 14 <arg name="cache" />14 <arg name="cache" value=".cache/phpcompat.json"/> 15 15 16 16 <!-- Set the memory limit to 256M. -
trunk/phpcs.xml.dist
r51659 r52179 7 7 8 8 <!-- Whenever possible, cache the scan results and re-use those for unchanged files on the next scan. --> 9 <arg name="cache" />9 <arg name="cache" value=".cache/phpcs.json"/> 10 10 11 11 <!-- Set the memory limit to 256M.
Note: See TracChangeset
for help on using the changeset viewer.