diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-12-29 17:27:39 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-12-29 17:27:39 +0300 |
commit | 21506c39f865b1fb3ac8315d9a2926d28244557e (patch) | |
tree | 9aa6a83854ed7842cbfbb0f1da13901801a5be4e /.github | |
parent | edbd604ebc0094f48ab735da3e449625f8f6cfd9 (diff) |
Add psalm
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/static-analysis.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 000000000..4f40268c6 --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,26 @@ +name: Static analysis + +on: [pull_request] + +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@master + with: + php-version: 7.4 + tools: composer:v1 + 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 |