diff --git a/.github/workflows/psalm-matrix.yml b/.github/workflows/psalm.yml similarity index 59% rename from .github/workflows/psalm-matrix.yml rename to .github/workflows/psalm.yml index 192fcc13..7be48f26 100644 --- a/.github/workflows/psalm-matrix.yml +++ b/.github/workflows/psalm.yml @@ -20,13 +20,8 @@ concurrency: jobs: static-analysis: runs-on: ubuntu-latest - strategy: - # do not stop on another job's failure - fail-fast: false - matrix: - ocp-version: [ 'dev-master', 'dev-stable27', 'dev-stable26', 'dev-stable25'] - name: Nextcloud ${{ matrix.ocp-version }} + name: Nextcloud steps: - name: Checkout uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 @@ -34,7 +29,7 @@ jobs: - name: Set up php uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2 with: - php-version: 8.0 + php-version: 8.1 coverage: none ini-file: development env: @@ -43,20 +38,5 @@ jobs: - name: Install dependencies run: composer i - - name: Install dependencies - run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} --ignore-platform-reqs --with-dependencies - - name: Run coding standards check run: composer run psalm - - summary: - runs-on: ubuntu-latest - needs: static-analysis - - if: always() - - name: static-psalm-analysis-summary - - steps: - - name: Summary status - run: if ${{ needs.static-analysis.result != 'success' }}; then exit 1; fi