Skip to content

Commit 6cbb44e

Browse files
committed
Update github ci for 5.0
1 parent 15001da commit 6cbb44e

File tree

1 file changed

+11
-27
lines changed

1 file changed

+11
-27
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
services:
1010
postgres:
11-
image: postgres:14
11+
image: postgres:15
1212
env:
1313
POSTGRES_USER: 'postgres'
1414
POSTGRES_HOST_AUTH_METHOD: 'trust'
@@ -20,6 +20,8 @@ jobs:
2020
env:
2121
MYSQL_USER: 'root'
2222
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
23+
MYSQL_CHARACTER_SET_SERVER: "utf8mb4"
24+
MYSQL_COLLATION_SERVER: "utf8mb4_unicode_ci"
2325
ports:
2426
- 3306:3306
2527
options: --health-cmd="mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 3
@@ -29,23 +31,14 @@ jobs:
2931
matrix:
3032
include:
3133
# Highest php versions supported by each branch (with main always being tested twice).
32-
- php: 8.3
34+
- php: 8.4
3335
moodle-branch: main
3436
database: pgsql
35-
- php: 8.3
37+
- php: 8.4
3638
moodle-branch: main
3739
database: mariadb
38-
- php: 8.2
39-
moodle-branch: MOODLE_405_STABLE
40-
database: pgsql
41-
- php: 8.2
42-
moodle-branch: MOODLE_404_STABLE
43-
database: pgsql
44-
- php: 8.2
45-
moodle-branch: MOODLE_403_STABLE
46-
database: pgsql
47-
- php: 8.2
48-
moodle-branch: MOODLE_402_STABLE
40+
- php: 8.4
41+
moodle-branch: MOODLE_500_STABLE
4942
database: pgsql
5043

5144
# Lowest php versions supported by each branch (with main always being tested twice).
@@ -55,21 +48,12 @@ jobs:
5548
- php: 8.2
5649
moodle-branch: main
5750
database: mariadb
58-
- php: 8.1
59-
moodle-branch: MOODLE_405_STABLE
60-
database: pgsql
61-
- php: 8.1
62-
moodle-branch: MOODLE_404_STABLE
63-
database: pgsql
64-
- php: 8.0
65-
moodle-branch: MOODLE_403_STABLE
66-
database: pgsql
67-
- php: 8.0
68-
moodle-branch: MOODLE_402_STABLE
51+
- php: 8.2
52+
moodle-branch: MOODLE_500_STABLE
6953
database: pgsql
7054
steps:
7155
- name: Check out repository code
72-
uses: actions/checkout@v3
56+
uses: actions/checkout@v4
7357
with:
7458
path: plugin
7559

@@ -83,7 +67,7 @@ jobs:
8367

8468
- name: Initialise moodle-plugin-ci
8569
run: |
86-
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
70+
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
8771
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
8872
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
8973
sudo locale-gen en_AU.UTF-8

0 commit comments

Comments
 (0)