diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 320e5eb64..b07865b71 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 cc1e68994..7dc1b16d8 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-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