diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-02-09 18:13:30 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-02-10 09:32:45 +0100 |
commit | 64665c98e1482c6702a8382200811acfc0cbdb0b (patch) | |
tree | 77ce26c5914b35466d9e20fe8040023f01b8f9ab /.github | |
parent | 9205a21088f67a7c8215e23bf4ff8fb54f13323d (diff) | |
download | nextcloud-server-64665c98e1482c6702a8382200811acfc0cbdb0b.tar.gz nextcloud-server-64665c98e1482c6702a8382200811acfc0cbdb0b.zip |
Lint on github actions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 20 |
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 |