diff --git a/.github/workflows/phpunit-sqlite.yml b/.github/workflows/phpunit-sqlite.yml index 9a86fea..85b6ce9 100644 --- a/.github/workflows/phpunit-sqlite.yml +++ b/.github/workflows/phpunit-sqlite.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: php-versions: ['7.4', '8.0', '8.1'] - server-versions: ['master'] + server-versions: ['stable25'] steps: - name: Set app env diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 4f40268..7dc1b16 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -1,26 +1,33 @@ name: Static analysis -on: [pull_request] +on: + pull_request: + push: + branches: + - master + - stable* jobs: static-psalm-analysis: - runs-on: ubuntu-latest - strategy: - matrix: - ocp-version: [ 'dev-master' ] - 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 diff --git a/.github/workflows/update-christophwurst-nextcloud.yml b/.github/workflows/update-christophwurst-nextcloud.yml index e2e5f52..50c81c6 100644 --- a/.github/workflows/update-christophwurst-nextcloud.yml +++ b/.github/workflows/update-christophwurst-nextcloud.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - branches: ["master", "stable24", "stable23", "stable22"] + branches: ["master", "stable25", "stable24", "stable23"] name: update-christophwurst-nextcloud-${{ matrix.branches }}