diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-09-26 21:00:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 21:00:16 +0300 |
commit | 1afc89fde1f17061e3368955688ceea2dd790a1a (patch) | |
tree | ede0afb0bcd6fd134f8fc7c7eb0408919aa80ac7 | |
parent | ddd24365e29deaae87ed2648039590d519d34dd8 (diff) | |
parent | d2c9ff63d500a1ed1a3e959d56bb419e59e88bc5 (diff) |
Merge pull request #786 from nextcloud/update-stable25-target-versions
Adjust testing matrix for Nextcloud 25 on stable25
-rw-r--r-- | .github/workflows/phpunit.yml | 2 | ||||
-rw-r--r-- | .github/workflows/static-analysis.yml | 44 |
2 files changed, 24 insertions, 22 deletions
diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 320e5eb..b07865b 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 cc1e689..7dc1b16 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 |