summaryrefslogtreecommitdiffstats
path: root/.github/workflows/api-php-static-code-check.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/api-php-static-code-check.yml')
-rw-r--r--.github/workflows/api-php-static-code-check.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/api-php-static-code-check.yml b/.github/workflows/api-php-static-code-check.yml
index 57776f400..9a37fc40c 100644
--- a/.github/workflows/api-php-static-code-check.yml
+++ b/.github/workflows/api-php-static-code-check.yml
@@ -7,24 +7,26 @@ jobs:
continue-on-error: true
strategy:
matrix:
- php-versions: [ '7.4', '8.0', '8.1' ]
- nextcloud: [ 'stable25' ]
+ php-versions: ['8.0', '8.1', '8.2' ]
+ nextcloud: [ 'stable27' ]
database: [ 'sqlite' ]
include:
- - php-versions: '8.2'
+ - php-versions: 8.2
nextcloud: pre-release
database: sqlite
experimental: true
name: "phpstan: Nextcloud ${{ matrix.nextcloud }} with ${{ matrix.php-versions }}"
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up php
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip
coverage: none
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up server non MySQL
uses: SMillerDev/nextcloud-actions/setup-nextcloud@main
@@ -34,7 +36,7 @@ jobs:
database-type: ${{ matrix.database }}
- name: Build app
- run: make
+ run: make composer
- name: Configure server with app
uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main