Add a new AI checkbox to the "Give feedback" section #642
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: Coding Standards | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
permissions: read-all | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
php: | |
name: PHP | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
coverage: 'none' | |
tools: composer, cs2pr | |
- name: Install Composer dependencies | |
uses: ramsey/composer-install@v1 | |
with: | |
composer-options: "--no-progress --no-ansi --no-interaction" | |
- name: Run PHPCS | |
run: vendor/bin/phpcs -n -q --report=checkstyle | cs2pr | |
js: | |
name: JavaScript | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install NPM Dependencies | |
run: npm ci | |
- name: Run JavaScript Lint | |
run: npm run lint:js |