2525 server-max : ${{ steps.versions.outputs.branches-max-list }}
2626 steps :
2727 - name : Checkout app
28- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
29+ with :
30+ persist-credentials : false
2931
3032 - name : Get version matrix
3133 id : versions
@@ -68,49 +70,50 @@ jobs:
6870 matrix :
6971 php-versions : ${{ fromJson(needs.matrix.outputs.php-version) }}
7072 server-versions : ${{ fromJson(needs.matrix.outputs.server-max) }}
71- mariadb-versions : ['10.6', '10.11', ' 11.4']
73+ mariadb-versions : ['10.6', '11.4']
7274
7375 name : MariaDB ${{ matrix.mariadb-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
7476
7577 services :
7678 mariadb :
77- image : ghcr.io/nextcloud/continuous-integration-mariadb-${{ matrix.mariadb-versions }}:latest
79+ image : ghcr.io/nextcloud/continuous-integration-mariadb-${{ matrix.mariadb-versions }}:latest # zizmor: ignore[unpinned-images]
7880 ports :
7981 - 4444:3306/tcp
8082 env :
8183 MARIADB_ROOT_PASSWORD : rootpassword
82- options : >-
83- --health-cmd="mariadb-admin ping"
84- --health-interval=5s
85- --health-timeout=2s
86- --health-retries=5
84+ options : --health-cmd="mariadb-admin ping" --health-interval 5s --health-timeout 2s --health-retries 5
8785
8886 steps :
8987 - name : Set app env
88+ if : ${{ env.APP_NAME == '' }}
9089 run : |
9190 # Split and keep last
9291 echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
9392
9493 - name : Checkout server
95- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
94+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
9695 with :
96+ persist-credentials : false
9797 submodules : true
9898 repository : nextcloud/server
9999 ref : ${{ matrix.server-versions }}
100100
101101 - name : Checkout app
102- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
102+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
103103 with :
104+ persist-credentials : false
104105 path : apps/${{ env.APP_NAME }}
105106
106107 - name : Set up php ${{ matrix.php-versions }}
107- uses : shivammathur/setup-php@20529878ed81ef8e78ddf08b480401e6101a850f # 2 .35.3
108+ uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2 .35.5
108109 with :
109110 php-version : ${{ matrix.php-versions }}
110111 # https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
111112 extensions : bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql
112113 coverage : none
113114 ini-file : development
115+ # Temporary workaround for missing pcntl_* in PHP 8.3
116+ ini-values : disable_functions=
114117 env :
115118 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
116119
@@ -129,7 +132,9 @@ jobs:
129132 # Only run if phpunit config file exists
130133 if : steps.check_composer.outputs.files_exists == 'true'
131134 working-directory : apps/${{ env.APP_NAME }}
132- run : composer i
135+ run : |
136+ composer remove nextcloud/ocp --dev --no-scripts
137+ composer i
133138
134139 - name : Set up Nextcloud
135140 env :
0 commit comments