Merge updates in 8.0.x #1934
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: Check coding styles | |
on: | |
pull_request: | |
paths: | |
- '**.js' | |
- '**.php' | |
- '**.module' | |
- '**.profile' | |
- '**.theme' | |
- '**.install' | |
jobs: | |
eslint: | |
name: runner / eslint | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
# pin to node 18.13 until npm v9 is supported by reviewdog eslint | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.13' | |
- name: eslint | |
uses: reviewdog/action-eslint@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-pr-check | |
phpcs: | |
name: runner / phpcs | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: phpcs | |
uses: chrfritsch/action-drupal-coder@master | |
with: | |
github_token: ${{ secrets.github_token }} | |
level: error | |
filter_mode: nofilter |