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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-04-15 12:36:03 +0300
committerJoas Schilling <coding@schilljs.com>2020-05-12 15:59:00 +0300
commit851f76ecd2be9302cf7938e287929f9296b398d0 (patch)
treeb0a3f5c63fd5b7ad1bdd2b8a16d6ef43fd506a53 /.github
parent877166cf799bcd298539680043a187d402633c3f (diff)
Update workflow with the server workflow
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml29
1 files changed, 11 insertions, 18 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index cccd9d9f8..826ffddec 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -28,28 +28,21 @@ jobs:
- name: Lint
run: "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;"
- php-cs:
+ php-cs-fixer:
+ name: php-cs check
runs-on: ubuntu-latest
-
- strategy:
- matrix:
- php-versions: ['7.4']
-
- name: php${{ matrix.php-versions }} CS
steps:
- - uses: actions/checkout@v2
-
- - name: Set up php ${{ matrix.php-versions }}
- uses: shivammathur/setup-php@v1
+ - name: Checkout
+ uses: actions/checkout@master
+ - name: Set up php
+ uses: shivammathur/setup-php@master
with:
- php-version: ${{ matrix.php-versions }}
+ php-version: 7.4
coverage: none
-
- - name: Composer
- run: composer install
-
- - name: Check CS
- run: composer run cs:check
+ - 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