Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_downloadactivity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2022-10-15 18:01:56 +0300
committerNextcloud bot <bot@nextcloud.com>2022-10-15 18:01:56 +0300
commitdd3762191ef7cac0ae06b331a67608b8949d6a30 (patch)
tree4e068dc8f5df52feb81245b154e0ac32ea00004c
parent16e958caf1443a2894c94a6c4d807049bb778fe0 (diff)
Updating psalm.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-rw-r--r--.github/workflows/psalm.yml52
1 files changed, 18 insertions, 34 deletions
diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml
index 0f8dece..dc4d05d 100644
--- a/.github/workflows/psalm.yml
+++ b/.github/workflows/psalm.yml
@@ -13,43 +13,27 @@ on:
- main
- stable*
+concurrency:
+ group: psalm-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
+
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-stable25', 'dev-stable24', 'dev-stable23' ]
- name: Nextcloud ${{ matrix.ocp-version }}
- steps:
- - name: Checkout
- uses: actions/checkout@v3
-
- - name: Set up php
- uses: shivammathur/setup-php@v2
- with:
- php-version: 7.4
- tools: composer:v1
- coverage: none
-
- - name: Install dependencies
- run: composer i
-
- - name: Install dependencies
- run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} --ignore-platform-reqs
-
- - name: Run coding standards check
- run: composer run psalm
-
- summary:
runs-on: ubuntu-latest
- needs: static-analysis
- if: always()
+ name: Nextcloud
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Set up php
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: 7.4
+ coverage: none
- name: static-psalm-analysis-summary
+ - name: Install dependencies
+ run: composer i
- steps:
- - name: Summary status
- run: if ${{ needs.static-analysis.result != 'success' }}; then exit 1; fi
+ - name: Run coding standards check
+ run: composer run psalm