From 02e752d894513e97119a2840ea895260fa2262a4 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Fri, 6 Jan 2023 16:24:07 +0100 Subject: [PATCH] ci: do not run psalm in ci as it cannot parse php types (#135) --- .github/workflows/static-analysis.yml | 31 --------------------------- 1 file changed, 31 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 90b4acd..6249c3e 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -32,34 +32,3 @@ jobs: - name: "Run a static analysis with phpstan/phpstan" run: "vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr" - - static-analysis-psalm: - name: "Static Analysis with Psalm" - runs-on: "ubuntu-20.04" - - strategy: - matrix: - php-version: - - "8.1" - - steps: - - name: "Checkout code" - uses: actions/checkout@v3 - - - name: "Install PHP" - uses: "shivammathur/setup-php@v2" - with: - coverage: "none" - php-version: "${{ matrix.php-version }}" - tools: "cs2pr" - - - name: "Install dependencies with Composer" - uses: "ramsey/composer-install@v2" - - - name: "Run a static analysis with vimeo/psalm" - run: "vendor/bin/psalm --output-format=github --shepherd --report=results.sarif" - - - name: "Upload Security Analysis results to GitHub" - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: results.sarif