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

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml69
1 files changed, 35 insertions, 34 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index dbb9abd..502c041 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -13,14 +13,15 @@ jobs:
strategy:
matrix:
- php-versions: ['7.3', '7.4']
-
+ php-versions: ["7.3", "7.4", "8.0"]
+
name: php${{ matrix.php-versions }}
steps:
- - uses: actions/checkout@v2
+ - name: Checkout
+ uses: actions/checkout@v2
- name: Set up php ${{ matrix.php-versions }}
- uses: shivammathur/setup-php@v1
+ uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
@@ -33,40 +34,40 @@ jobs:
strategy:
matrix:
- php-versions: ['7.4']
+ php-versions: ["7.4"]
name: cs php${{ matrix.php-versions }}
steps:
- - name: Checkout
- uses: actions/checkout@v2
+ - name: Checkout
+ uses: actions/checkout@v2
- - name: Set up php
- uses: shivammathur/setup-php@master
- with:
- php-version: ${{ matrix.php-versions }}
- coverage: none
+ - name: Set up php
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php-versions }}
+ coverage: none
- - name: Install dependencies
- run: composer i
+ - 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 )
+ - 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
- strategy:
- matrix:
- node-version: [12.x]
-
- name: eslint node${{ matrix.node-version }}
+ name: eslint node
steps:
- - uses: actions/checkout@v2
+ - name: Checkout
+ uses: actions/checkout@v2
- - name: Set up node ${{ matrix.node-version }}
- uses: actions/setup-node@v1
+ - name: Set up node
+ uses: actions/setup-node@v2
with:
- node-version: ${{ matrix.node-version }}
+ node-version: 14
+
+ - name: Set up npm7
+ run: npm i -g npm@7
- name: Install dependencies
run: npm ci
@@ -77,18 +78,18 @@ jobs:
stylelint:
runs-on: ubuntu-latest
- strategy:
- matrix:
- node-version: [12.x]
-
- name: stylelint node${{ matrix.node-version }}
+ name: stylelint node
steps:
- - uses: actions/checkout@v2
+ - name: Checkout
+ uses: actions/checkout@v2
- - name: Set up node ${{ matrix.node-version }}
- uses: actions/setup-node@v1
+ - name: Set up node
+ uses: actions/setup-node@v2
with:
- node-version: ${{ matrix.node-version }}
+ node-version: 14
+
+ - name: Set up npm7
+ run: npm i -g npm@7
- name: Install dependencies
run: npm ci