From cc18213c98b082d5c9514c1db94eb0248c951774 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 30 Dec 2020 11:17:18 +0100 Subject: [PATCH] Have psalm analysis directly on github Signed-off-by: Roeland Jago Douma --- .github/workflows/psalm-github.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/psalm-github.yml diff --git a/.github/workflows/psalm-github.yml b/.github/workflows/psalm-github.yml new file mode 100644 index 0000000000..ef35c39cd6 --- /dev/null +++ b/.github/workflows/psalm-github.yml @@ -0,0 +1,26 @@ +name: Psalm show github + +on: + push: + pull_request: + schedule: + - cron: '0 0 * * 0' + +jobs: + psalm: + name: Psalm + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + submodules: recursive + - name: Psalm + uses: docker://vimeo/psalm-github-actions + continue-on-error: true + with: + report_file: results.sarif + - name: Upload Analysis results to GitHub + uses: github/codeql-action/upload-sarif@v1 + with: + sarif_file: results.sarif