diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-07-10 10:58:33 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-18 08:58:19 +0200 |
commit | 7257793fc4ec5c40c193ca12b5747a4f49c6f4fe (patch) | |
tree | d87867bef87995b677a5bca6af84b165b1618ee8 /.github | |
parent | 9809b7722166fa05733bda042bd36d03b0be4704 (diff) | |
download | nextcloud-server-7257793fc4ec5c40c193ca12b5747a4f49c6f4fe.tar.gz nextcloud-server-7257793fc4ec5c40c193ca12b5747a4f49c6f4fe.zip |
Hello psalm
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/static-code-analysis.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml new file mode 100644 index 00000000000..5633c3abc29 --- /dev/null +++ b/.github/workflows/static-code-analysis.yml @@ -0,0 +1,22 @@ +name: Static code analysis + +on: [pull_request] + +jobs: + static-code-analysis: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Checkout submodules + shell: bash + run: | + auth_header="$(git config --local --get http.https://github.com/.extraheader)" + git submodule sync --recursive + git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 + - name: Remove composer.json + shell: bash + run: rm composer.json composer.lock + - name: Psalm + uses: docker://jakzal/phpqa:php7.4-alpine + with: + args: psalm --monochrome --no-progress --output-format=text |