2424 matrix : ${{ steps.versions.outputs.sparse-matrix }}
2525 steps :
2626 - name : Checkout app
27- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
27+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+ with :
29+ persist-credentials : false
2830
2931 - name : Get version matrix
3032 id : versions
@@ -81,30 +83,35 @@ jobs:
8183
8284 steps :
8385 - name : Set app env
86+ if : ${{ env.APP_NAME == '' }}
8487 run : |
8588 # Split and keep last
8689 echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
8790
8891 - name : Checkout server
89- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
92+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9093 with :
94+ persist-credentials : false
9195 submodules : true
9296 repository : nextcloud/server
9397 ref : ${{ matrix.server-versions }}
9498
9599 - name : Checkout app
96- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
100+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
97101 with :
102+ persist-credentials : false
98103 path : apps/${{ env.APP_NAME }}
99104
100105 - name : Set up php ${{ matrix.php-versions }}
101- uses : shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
106+ uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
102107 with :
103108 php-version : ${{ matrix.php-versions }}
104109 # https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
105110 extensions : bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql
106111 coverage : none
107112 ini-file : development
113+ # Temporary workaround for missing pcntl_* in PHP 8.3
114+ ini-values : disable_functions=
108115 env :
109116 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
110117
@@ -123,7 +130,9 @@ jobs:
123130 # Only run if phpunit config file exists
124131 if : steps.check_composer.outputs.files_exists == 'true'
125132 working-directory : apps/${{ env.APP_NAME }}
126- run : composer i
133+ run : |
134+ composer remove nextcloud/ocp --dev
135+ composer i
127136
128137 - name : Set up Nextcloud
129138 env :
0 commit comments