Skip to content

Commit 08a5ee3

Browse files
committed
feat: lock version at stable29
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 3114bb5 commit 08a5ee3

17 files changed

+41
-209
lines changed

.github/workflows/appstore-build-publish.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
release:
1010
types: [published]
1111

12+
env:
13+
PHP_VERSION: 8.2
14+
1215
jobs:
1316
build_and_publish:
1417
runs-on: ubuntu-latest
@@ -62,16 +65,10 @@ jobs:
6265
if: ${{ steps.versions.outputs.npmVersion }}
6366
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
6467

65-
- name: Get php version
66-
id: php-versions
67-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
68-
with:
69-
filename: ${{ env.APP_NAME }}/appinfo/info.xml
70-
71-
- name: Set up php ${{ steps.php-versions.outputs.php-min }}
72-
uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2
68+
- name: Set up php ${{ env.PHP_VERSION }}
69+
uses: shivammathur/setup-php@6d7209f44a25a59e904b1ee9f3b0c33ab2cd888d # v2
7370
with:
74-
php-version: ${{ steps.php-versions.outputs.php-min }}
71+
php-version: ${{ env.PHP_VERSION }}
7572
coverage: none
7673
env:
7774
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/behat-mariadb.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,6 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
matrix:
14-
runs-on: ubuntu-latest
15-
outputs:
16-
php-version: ${{ steps.versions.outputs.php-available-list }}
17-
server-max: ${{ steps.versions.outputs.branches-max-list }}
18-
steps:
19-
- name: Checkout app
20-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
21-
22-
- name: Get version matrix
23-
id: versions
24-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
25-
2613
changes:
2714
runs-on: ubuntu-latest
2815

@@ -50,13 +37,13 @@ jobs:
5037
behat-mariadb:
5138
runs-on: ubuntu-latest
5239

53-
needs: [changes, matrix]
40+
needs: [changes]
5441
if: needs.changes.outputs.src != 'false'
5542

5643
strategy:
5744
matrix:
58-
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
59-
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
45+
php-versions: ['8.0','8.1','8.2']
46+
server-versions: [stable29]
6047
mariadb-versions: ['10.6', '10.11']
6148

6249
name: MariaDB ${{ matrix.mariadb-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}

.github/workflows/behat-mysql.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,6 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
matrix:
14-
runs-on: ubuntu-latest
15-
outputs:
16-
php-version: ${{ steps.versions.outputs.php-available-list }}
17-
server-max: ${{ steps.versions.outputs.branches-max-list }}
18-
steps:
19-
- name: Checkout app
20-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
21-
22-
- name: Get version matrix
23-
id: versions
24-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
25-
with:
26-
matrix: '{"mysql-versions": ["8.1"]}'
27-
2813
changes:
2914
runs-on: ubuntu-latest
3015

@@ -52,13 +37,13 @@ jobs:
5237
behat-mysql:
5338
runs-on: ubuntu-latest
5439

55-
needs: [changes, matrix]
40+
needs: [changes]
5641
if: needs.changes.outputs.src != 'false'
5742

5843
strategy:
5944
matrix:
60-
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
61-
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
45+
php-versions: ['8.0','8.1','8.2']
46+
server-versions: [stable29]
6247
mysql-versions: ['8.1']
6348

6449
name: MySQL ${{ matrix.mysql-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}

.github/workflows/behat-pgsql.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,6 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
matrix:
14-
runs-on: ubuntu-latest
15-
outputs:
16-
php-version: ${{ steps.versions.outputs.php-available-list }}
17-
server-max: ${{ steps.versions.outputs.branches-max-list }}
18-
steps:
19-
- name: Checkout app
20-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
21-
22-
- name: Get version matrix
23-
id: versions
24-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
25-
2613
changes:
2714
runs-on: ubuntu-latest
2815

@@ -50,13 +37,13 @@ jobs:
5037
behat-pgsql:
5138
runs-on: ubuntu-latest
5239

53-
needs: [changes, matrix]
40+
needs: [changes]
5441
if: needs.changes.outputs.src != 'false'
5542

5643
strategy:
5744
matrix:
58-
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
59-
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
45+
php-versions: ['8.0','8.1','8.2']
46+
server-versions: [stable29]
6047

6148
name: PostgreSQL PHP ${{ matrix.mysql-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
6249

.github/workflows/behat-sqlite.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,6 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
matrix:
14-
runs-on: ubuntu-latest
15-
outputs:
16-
php-version: ${{ steps.versions.outputs.php-available-list }}
17-
server-max: ${{ steps.versions.outputs.branches-max-list }}
18-
steps:
19-
- name: Checkout app
20-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
21-
22-
- name: Get version matrix
23-
id: versions
24-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
25-
2613
changes:
2714
runs-on: ubuntu-latest
2815

@@ -50,13 +37,13 @@ jobs:
5037
behat-sqlite:
5138
runs-on: ubuntu-latest
5239

53-
needs: [changes, matrix]
40+
needs: [changes]
5441
if: needs.changes.outputs.src != 'false'
5542

5643
strategy:
5744
matrix:
58-
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
59-
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
45+
php-versions: ['8.0','8.1','8.2']
46+
server-versions: [stable29]
6047

6148
name: SQLite PHP ${{ matrix.mysql-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
6249

.github/workflows/lint-php-cs.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,10 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2626

27-
- name: Get php version
28-
id: versions
29-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
30-
31-
- name: Set up php${{ steps.versions.outputs.php-available }}
27+
- name: Set up php8.2
3228
uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2
3329
with:
34-
php-version: ${{ steps.versions.outputs.php-available }}
30+
php-version: 8.2
3531
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
3632
coverage: none
3733
ini-file: development

.github/workflows/npm-audit-fix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
branches: ['main', 'stable29', 'stable28']
21+
branches: ['stable29']
2222

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

.github/workflows/phpunit-mariadb.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,6 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
jobs:
18-
matrix:
19-
runs-on: ubuntu-latest
20-
outputs:
21-
php-version: ${{ steps.versions.outputs.php-available-list }}
22-
server-max: ${{ steps.versions.outputs.branches-max-list }}
23-
steps:
24-
- name: Checkout app
25-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
26-
27-
- name: Get version matrix
28-
id: versions
29-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
30-
3118
changes:
3219
runs-on: ubuntu-latest
3320

@@ -55,13 +42,13 @@ jobs:
5542
phpunit-mariadb:
5643
runs-on: ubuntu-latest
5744

58-
needs: [changes, matrix]
45+
needs: [changes]
5946
if: needs.changes.outputs.src != 'false'
6047

6148
strategy:
6249
matrix:
63-
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
64-
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
50+
php-versions: ['8.0','8.1','8.2']
51+
server-versions: [stable29]
6552
mariadb-versions: ['10.6', '10.11']
6653
coverage: ['xdebug']
6754
testsuite: [unit, api]

.github/workflows/phpunit-mysql.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,6 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
jobs:
18-
matrix:
19-
runs-on: ubuntu-latest
20-
outputs:
21-
php-version: ${{ steps.versions.outputs.php-available-list }}
22-
server-max: ${{ steps.versions.outputs.branches-max-list }}
23-
steps:
24-
- name: Checkout app
25-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
26-
27-
- name: Get version matrix
28-
id: versions
29-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
30-
with:
31-
matrix: '{"mysql-versions": ["8.1"]}'
32-
3318
changes:
3419
runs-on: ubuntu-latest
3520

@@ -57,13 +42,13 @@ jobs:
5742
phpunit-mysql:
5843
runs-on: ubuntu-latest
5944

60-
needs: [changes, matrix]
45+
needs: [changes]
6146
if: needs.changes.outputs.src != 'false'
6247

6348
strategy:
6449
matrix:
65-
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
66-
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
50+
php-versions: ['8.0','8.1','8.2']
51+
server-versions: [stable29]
6752
mysql-versions: ['8.1']
6853
coverage: ['xdebug']
6954
testsuite: [unit, api]

.github/workflows/phpunit-pgsql.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,6 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
jobs:
18-
matrix:
19-
runs-on: ubuntu-latest
20-
outputs:
21-
php-version: ${{ steps.versions.outputs.php-available-list }}
22-
server-max: ${{ steps.versions.outputs.branches-max-list }}
23-
steps:
24-
- name: Checkout app
25-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
26-
27-
- name: Get version matrix
28-
id: versions
29-
uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.3.1
30-
3118
changes:
3219
runs-on: ubuntu-latest
3320

@@ -55,13 +42,13 @@ jobs:
5542
phpunit-pgsql:
5643
runs-on: ubuntu-latest
5744

58-
needs: [changes, matrix]
45+
needs: [changes]
5946
if: needs.changes.outputs.src != 'false'
6047

6148
strategy:
6249
matrix:
63-
php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }}
64-
server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }}
50+
php-versions: ['8.0','8.1','8.2']
51+
server-versions: [stable29]
6552
coverage: ['xdebug']
6653
testsuite: [unit, api]
6754
xdebug_mode: ['debug']

0 commit comments

Comments
 (0)