Changeset 52179 for trunk/.github/workflows/coding-standards.yml
- Timestamp:
- 11/16/2021 02:17:26 PM (3 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.