Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-13 13:30:53 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-13 13:30:53 +0300
commitb8f714a62a2d16205f24edc4760cb20a572f1f14 (patch)
tree6a022614bdd43d77ae5f7fcecae5fb55855418fb /.github
parente88fcd0854fd34fa0614a1d36ea0e9606ebca35d (diff)
Add php cs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml48
1 files changed, 47 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 229fb498..8d74b98f 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -28,6 +28,30 @@ jobs:
- name: Lint
run: composer run lint
+ php-cs-fixer:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ php-versions: ['7.4']
+
+ name: cs php${{ matrix.php-versions }}
+ steps:
+ - name: Checkout
+ uses: actions/checkout@master
+
+ - name: Set up php
+ uses: shivammathur/setup-php@master
+ with:
+ php-version: ${{ matrix.php-versions }}
+ coverage: none
+
+ - name: Install dependencies
+ run: composer i
+
+ - name: Run coding standards check
+ run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
+
node:
runs-on: ubuntu-latest
@@ -35,7 +59,7 @@ jobs:
matrix:
node-versions: [12.x]
- name: node${{ matrix.node-versions }}
+ name: eslint node${{ matrix.node-versions }}
steps:
- uses: actions/checkout@v2
@@ -49,3 +73,25 @@ jobs:
- name: Lint
run: npm run lint
+
+ stylelint:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-versions: [12.x]
+
+ name: stylelint node${{ matrix.node-versions }}
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up node ${{ matrix.node-versions }}
+ uses: actions/setup-node@v1
+ with:
+ node-versions: ${{ matrix.node-versions }}
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Lint
+ run: npm run stylelint