Skip to content

Don't leave orphaned data on deleting Projects, Translation Sets or Glossaries #1938

Don't leave orphaned data on deleting Projects, Translation Sets or Glossaries

Don't leave orphaned data on deleting Projects, Translation Sets or Glossaries #1938

name: Coding Standards
on:
push:
branches:
- stable
- 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@v4
- 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@v3
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@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 16
cache: npm
- name: Install NPM Dependencies
run: npm ci
- name: Run JavaScript Lint
run: npm run lint:js