Skip to content

Commit

Permalink
Merge pull request #18 from ONLYOFFICE/feat/linter
Browse files Browse the repository at this point in the history
ci: linter configuration
LinneyS authored Mar 13, 2023

Verified

This commit was signed with the committer’s verified signature.
addaleax Anna Henningsen
2 parents 4a269da + 2b84f7a commit 3928c4f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint

on:
workflow_dispatch:
pull_request:
branches: [master]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
tools: cs2pr, phpcs

- name: Run phpcs
run: phpcs -q --extensions=php,module,inc,install,test,profile,theme,css,info --ignore=node_modules,bower_components,vendor,md,yml,txt ./

0 comments on commit 3928c4f

Please sign in to comment.