From 3a6d607b99f51e94881cac5c1227a7ddde24061c Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 22 Sep 2022 12:09:12 +0200 Subject: [PATCH 1/2] Adjust testing matrix for Nextcloud 25 on stable25 Signed-off-by: Joas Schilling --- .github/workflows/phpunit.yml | 2 +- .github/workflows/static-analysis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 320e5eb6..b07865b7 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -20,7 +20,7 @@ jobs: matrix: php-versions: ['7.4', '8.0', '8.1'] databases: ['sqlite'] - server-versions: ['master'] + server-versions: ['stable25'] name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index cc1e6899..9e369438 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ocp-version: [ 'dev-master' ] + ocp-version: [ 'dev-stable25' ] name: Nextcloud ${{ matrix.ocp-version }} steps: - name: Checkout From d2c9ff63d500a1ed1a3e959d56bb419e59e88bc5 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Thu, 22 Sep 2022 13:22:29 +0200 Subject: [PATCH 2/2] Update static analysis workflow Signed-off-by: Carl Schwan --- .github/workflows/static-analysis.yml | 44 ++++++++++++++------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 9e369438..7dc1b16d 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -1,4 +1,4 @@ -name: Php Static analysis +name: Static analysis on: pull_request: @@ -9,23 +9,25 @@ on: jobs: static-psalm-analysis: - runs-on: ubuntu-latest - strategy: - matrix: - ocp-version: [ 'dev-stable25' ] - name: Nextcloud ${{ matrix.ocp-version }} - steps: - - name: Checkout - uses: actions/checkout@master - - name: Set up php - uses: shivammathur/setup-php@master - with: - php-version: 7.4 - tools: composer:v1 - coverage: none - - name: Install dependencies - run: composer i - - name: Install dependencies - run: composer require --dev christophwurst/nextcloud:${{ matrix.ocp-version }} - - name: Run coding standards check - run: composer run psalm + runs-on: ubuntu-latest + + strategy: + matrix: + ocp-version: [ 'dev-stable25' ] + + name: Nextcloud ${{ matrix.ocp-version }} + steps: + - name: Checkout + uses: actions/checkout@master + + - name: Set up php + uses: shivammathur/setup-php@v2 + with: + php-version: 7.4 + coverage: none + + - name: Install dependencies + run: composer install --dev + + - name: Run coding standards check + run: composer run psalm