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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-02-10 13:39:29 +0300
committerGitHub <noreply@github.com>2020-02-10 13:39:29 +0300
commitdf4ca949f533513a9ea90afa363c0bd0ee74c134 (patch)
tree94b09d9b6eb1158fbc0f154369c943a3aa17a1bd /.github
parenta3c80b92c4a3b0985b5ab33188d89ccbcc7be876 (diff)
parent64665c98e1482c6702a8382200811acfc0cbdb0b (diff)
Merge pull request #19384 from nextcloud/enh/actions/lint
Lint on github actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 00000000000..ca027676da0
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,20 @@
+name: Lint
+on: pull_request
+
+jobs:
+ php-linters:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ php-versions: ['7.2', '7.3', 7.4]
+ name: php${{ matrix.php-versions }} lint
+ steps:
+ - name: Checkout
+ uses: actions/checkout@master
+ - name: Set up php${{ matrix.php-versions }}
+ uses: shivammathur/setup-php@master
+ with:
+ php-version: ${{ matrix.php-versions }}
+ coverage: none
+ - name: Lint
+ run: composer run lint