Skip to content

Merge pull request #2996 from nextcloud/enh/maintenance #5275

Merge pull request #2996 from nextcloud/enh/maintenance

Merge pull request #2996 from nextcloud/enh/maintenance #5275

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
php-cs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1']
name: PHP-CS
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup composer and PHP
uses: ./.github/actions/setup-composer
with:
php-version: ${{ matrix.php-versions }}
php-tools: composer, php-cs-fixer
- name: Run coding standards check
run: composer run cs:check
eslint:
runs-on: ubuntu-latest
name: ESLint
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup node
uses: ./.github/actions/setup-node
- name: Run eslint
run: npm run lint
stylelint:
runs-on: ubuntu-latest
name: Stylelint
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup node
uses: ./.github/actions/setup-node
- name: Run stylelint
run: npm run stylelint