diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-08-29 10:23:02 +0300 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-08-29 10:23:02 +0300 |
commit | 6ed28216e532ab799fee9ff6d87910353f46ad32 (patch) | |
tree | 022765326836a0931cd9bc6e279ecb9ff204e80a | |
parent | 6430ce321d8e231eef29fcc5685d1ab32fb26a4e (diff) |
Add psalm github workflow
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | .github/workflows/psalm.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml new file mode 100644 index 0000000..dd8ca72 --- /dev/null +++ b/.github/workflows/psalm.yml @@ -0,0 +1,33 @@ +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: Run coding standards check + run: composer run psalm |