chore(SHS-6056): Attempt to get Four Kitchens repo to pull on CI #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Drupal PHP CodeSniffer | |
on: push | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run_phpcs: | |
runs-on: ubuntu-latest | |
container: | |
image: pookmish/drupal8ci:php8.3 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Restore Cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
vendor | |
docroot/core | |
docroot/libraries | |
docroot/modules/contrib | |
key: 1.0-${{ hashFiles('blt/blt.yml') }}-${{ hashFiles('composer.json') }}-${{ hashFiles('composer.lock') }} | |
restore-keys: | | |
1.0-${{ hashFiles('blt/blt.yml') }}-${{ hashFiles('composer.json') }}-${{ hashFiles('composer.lock') }} | |
1.0-${{ hashFiles('blt/blt.yml') }}-${{ hashFiles('composer.json') }}- | |
1.0-${{ hashFiles('blt/blt.yml') }}- | |
- name: Run PHPCS | |
run: | | |
composer install -n && | |
vendor/bin/phpcs --standard=./phpcs.xml |