Skip to content

Commit

Permalink
Add psalm workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Jun 9, 2022
1 parent 9493e11 commit 75bd7e6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Static analysis

on:
pull_request:
push:
branches:
- main
- stable*

jobs:
static-psalm-analysis:
runs-on: ubuntu-latest

strategy:
matrix:
ocp-version: [ 'dev-master' ]

name: Nextcloud ${{ matrix.ocp-version }}
steps:
- name: Checkout
uses: actions/checkout@master

- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none

- name: Install dependencies
run: composer i

- name: Install dependencies
run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }}

- name: Run coding standards check
run: composer run psalm

0 comments on commit 75bd7e6

Please sign in to comment.