Skip to content

Commit

Permalink
feat: add support for php 8.3
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Nov 28, 2023
1 parent 2489fd8 commit caae48e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint-php-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Set up php
uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # v2
- name: Set up php8.1
uses: shivammathur/setup-php@81cd5ae0920b34eef300e1775313071038a53429 # v2
with:
php-version: 8.1
coverage: none
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-audit-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
branches: ["main", "stable1.2"]

name: npm-audit-fix-${{ matrix.branches }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/psalm-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
ocp-version: [ 'dev-master', 'dev-stable27', 'dev-stable26', 'dev-stable25' ]
ocp-version: [ 'dev-stable28', 'dev-stable27', 'dev-stable26', 'dev-stable25' ]

name: Nextcloud ${{ matrix.ocp-version }}
steps:
Expand Down
25 changes: 12 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ jobs:
strategy:
matrix:
php-version: ['8.0', '8.1', '8.2']
nextcloud-version: ['master', 'stable27', 'stable26']
nextcloud-version: ['stable27', 'stable26']
include:
- php-version: '7.4'
nextcloud-version: stable25
- php-version: '8.0'
nextcloud-version: stable25
- php-version: '8.1'
nextcloud-version: stable25
- php-version: '8.3'
nextcloud-version: stable28
name: Nextcloud ${{ matrix.nextcloud-version }} php${{ matrix.php-version }} unit tests
steps:
- name: Set up Nextcloud env
Expand All @@ -46,26 +48,23 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ '8.1' ]
nextcloud-version: [ 'master' ]
php-version: [ '8.3' ]
nextcloud-version: [ 'stable28' ]
db: [ 'sqlite' ]
include:
- php-version: '8.1'
nextcloud-version: master
db: 'oci'
- php-version: '7.4'
nextcloud-version: stable25
db: 'mysql'
- php-version: '8.0'
nextcloud-version: stable26
db: 'pgsql'
- php-version: '8.0'
- php-version: '8.1'
nextcloud-version: stable27
db: 'pgsql'
db: 'oci'
- php-version: '8.2'
nextcloud-version: master
db: 'mysql'
- php-version: '7.4'
nextcloud-version: stable25
nextcloud-version: stable28
db: 'mysql'
name: php${{ matrix.php-version }}-${{ matrix.db }} integration tests
name: Nextcloud ${{ matrix.nextcloud-version }} php${{ matrix.php-version }}-${{ matrix.db }} integration tests
services:
mysql-service:
image: mariadb:10.5
Expand Down
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<screenshot>https://raw.githubusercontent.com/nextcloud/twofactor_webauthn/main/screenshots/challenge.png</screenshot>

<dependencies>
<php min-version="7.4" max-version="8.2"/>
<php min-version="7.4" max-version="8.3"/>
<lib>gmp</lib>
<nextcloud min-version="25" max-version="28" />
</dependencies>
Expand Down

0 comments on commit caae48e

Please sign in to comment.