Skip to content

Commit e9055e9

Browse files
committed
Merge branch 'master' into dev/4.0
2 parents dafd4b0 + cdcc1ac commit e9055e9

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

.github/workflows/tests.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
# START Basic Checks Job (EPV, code sniffer, images check, etc.)
2323
basic-checks:
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-22.04
2525
strategy:
2626
matrix:
2727
include:
@@ -33,14 +33,14 @@ jobs:
3333

3434
steps:
3535
- name: Checkout phpBB
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737
with:
3838
repository: phpbb/phpbb
3939
ref: ${{ env.PHPBB_BRANCH }}
4040
path: phpBB3
4141

4242
- name: Checkout extension
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4444
with:
4545
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
4646

@@ -89,7 +89,7 @@ jobs:
8989

9090
# START MySQL and MariaDB Job
9191
mysql-tests:
92-
runs-on: ubuntu-20.04
92+
runs-on: ubuntu-22.04
9393
strategy:
9494
matrix:
9595
include:
@@ -127,6 +127,8 @@ jobs:
127127
db: "mysql:5.7"
128128
- php: '8.3'
129129
db: "mysql:5.7"
130+
- php: '8.4'
131+
db: "mysql:5.7"
130132

131133
name: PHP ${{ matrix.php }} - ${{ matrix.db_alias != '' && matrix.db_alias || matrix.db }}
132134

@@ -156,14 +158,14 @@ jobs:
156158

157159
steps:
158160
- name: Checkout phpBB
159-
uses: actions/checkout@v3
161+
uses: actions/checkout@v4
160162
with:
161163
repository: phpbb/phpbb
162164
ref: ${{ env.PHPBB_BRANCH }}
163165
path: phpBB3
164166

165167
- name: Checkout extension
166-
uses: actions/checkout@v3
168+
uses: actions/checkout@v4
167169
with:
168170
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
169171

@@ -240,7 +242,7 @@ jobs:
240242

241243
# START PostgreSQL Job
242244
postgres-tests:
243-
runs-on: ubuntu-20.04
245+
runs-on: ubuntu-22.04
244246
strategy:
245247
matrix:
246248
include:
@@ -270,6 +272,8 @@ jobs:
270272
db: "postgres:14"
271273
- php: '8.3'
272274
db: "postgres:14"
275+
- php: '8.4'
276+
db: "postgres:14"
273277

274278
name: PHP ${{ matrix.php }} - ${{ matrix.db }}
275279

@@ -301,14 +305,14 @@ jobs:
301305

302306
steps:
303307
- name: Checkout phpBB
304-
uses: actions/checkout@v3
308+
uses: actions/checkout@v4
305309
with:
306310
repository: phpbb/phpbb
307311
ref: ${{ env.PHPBB_BRANCH }}
308312
path: phpBB3
309313

310314
- name: Checkout extension
311-
uses: actions/checkout@v3
315+
uses: actions/checkout@v4
312316
with:
313317
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
314318

@@ -364,14 +368,14 @@ jobs:
364368
db: "mcr.microsoft.com/mssql/server:2017-latest"
365369
db_alias: 'MSSQL 2017'
366370
- php: '7.2'
367-
db: "mcr.microsoft.com/mssql/server:2019-latest"
371+
db: "mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04"
368372
db_alias: 'MSSQL 2019'
369373

370374
name: PHP ${{ matrix.php }} - ${{ matrix.db_alias != '' && matrix.db_alias || matrix.db }}
371375

372376
services:
373377
mssql:
374-
image: ${{ matrix.db != 'mcr.microsoft.com/mssql/server:2017-latest' && matrix.db != 'mcr.microsoft.com/mssql/server:2019-latest' && 'mcr.microsoft.com/mssql/server:2017-latest' || matrix.db }}
378+
image: ${{ matrix.db != 'mcr.microsoft.com/mssql/server:2017-latest' && matrix.db != 'mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04' && 'mcr.microsoft.com/mssql/server:2017-latest' || matrix.db }}
375379
env:
376380
SA_PASSWORD: "Pssw0rd_12"
377381
ACCEPT_EULA: "y"
@@ -396,22 +400,22 @@ jobs:
396400

397401
steps:
398402
- name: Checkout phpBB
399-
uses: actions/checkout@v3
403+
uses: actions/checkout@v4
400404
with:
401405
repository: phpbb/phpbb
402406
ref: ${{ env.PHPBB_BRANCH }}
403407
path: phpBB3
404408

405409
- name: Checkout extension
406-
uses: actions/checkout@v3
410+
uses: actions/checkout@v4
407411
with:
408412
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
409413

410414
- id: database-type
411415
env:
412416
MATRIX_DB: ${{ matrix.db }}
413417
run: |
414-
if [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2017-latest' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2019-latest' ]
418+
if [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2017-latest' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2019-CU27-ubuntu-20.04' ]
415419
then
416420
db='mssql'
417421
else

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is the repository for the development of the Topic Prefixes phpBB extension.
44

5-
[![Build Status](https://github.com/phpbb-extensions/topicprefixes/workflows/Tests/badge.svg)](https://github.com/phpbb-extensions/topicprefixes/actions)
5+
[![Build Status](https://github.com/phpbb-extensions/topicprefixes/actions/workflows/tests.yml/badge.svg)](https://github.com/phpbb-extensions/topicprefixes/actions)
66
[![codecov](https://codecov.io/gh/phpbb-extensions/topicprefixes/branch/master/graph/badge.svg?token=Dc0GWOeQWj)](https://codecov.io/gh/phpbb-extensions/topicprefixes)
77
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/phpbb-extensions/topicprefixes/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/phpbb-extensions/topicprefixes/?branch=master)
88

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"composer/installers": "~1.0"
2323
},
2424
"require-dev": {
25-
"phing/phing": "2.4.*"
25+
"phing/phing": "~2.4"
2626
},
2727
"extra": {
2828
"display-name": "phpBB Topic Prefixes",

0 commit comments

Comments
 (0)