25
25
server-max : ${{ steps.versions.outputs.branches-max-list }}
26
26
steps :
27
27
- name : Checkout app
28
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
28
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29
+ with :
30
+ persist-credentials : false
29
31
30
32
- name : Get version matrix
31
33
id : versions
68
70
matrix :
69
71
php-versions : ${{ fromJson(needs.matrix.outputs.php-version) }}
70
72
server-versions : ${{ fromJson(needs.matrix.outputs.server-max) }}
71
- mariadb-versions : ['10.6', '10.11 ']
73
+ mariadb-versions : ['10.6', '11.4 ']
72
74
73
75
name : MariaDB ${{ matrix.mariadb-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
74
76
@@ -78,25 +80,28 @@ jobs:
78
80
ports :
79
81
- 4444:3306/tcp
80
82
env :
81
- MYSQL_ROOT_PASSWORD : rootpassword
82
- options : --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
83
+ MARIADB_ROOT_PASSWORD : rootpassword
84
+ options : --health-cmd="mariadb-admin ping" --health-interval 5s --health-timeout 2s --health-retries 5
83
85
84
86
steps :
85
87
- name : Set app env
88
+ if : ${{ env.APP_NAME == '' }}
86
89
run : |
87
90
# Split and keep last
88
91
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
89
92
90
93
- name : Checkout server
91
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
94
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
92
95
with :
96
+ persist-credentials : false
93
97
submodules : true
94
98
repository : nextcloud/server
95
99
ref : ${{ matrix.server-versions }}
96
100
97
101
- name : Checkout app
98
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
102
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99
103
with :
104
+ persist-credentials : false
100
105
path : apps/${{ env.APP_NAME }}
101
106
102
107
- name : Set up php ${{ matrix.php-versions }}
@@ -107,6 +112,8 @@ jobs:
107
112
extensions : bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql
108
113
coverage : none
109
114
ini-file : development
115
+ # Temporary workaround for missing pcntl_* in PHP 8.3
116
+ ini-values : disable_functions=
110
117
env :
111
118
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
112
119
@@ -125,7 +132,9 @@ jobs:
125
132
# Only run if phpunit config file exists
126
133
if : steps.check_composer.outputs.files_exists == 'true'
127
134
working-directory : apps/${{ env.APP_NAME }}
128
- run : composer i
135
+ run : |
136
+ composer remove nextcloud/ocp --dev
137
+ composer i
129
138
130
139
- name : Set up Nextcloud
131
140
env :
0 commit comments