From 181f4d0f902ea4b77a57509e7cd5f5ed24a03575 Mon Sep 17 00:00:00 2001 From: Gareth Barnard <1058419+gjb2048@users.noreply.github.com> Date: Tue, 19 Sep 2023 16:24:31 +0100 Subject: [PATCH] CI update to v4 --- .github/workflows/ci.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3eda5b86..25f8e666 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,16 +21,9 @@ jobs: strategy: fail-fast: false matrix: - include: - - php: 7.3 - moodle-branch: 'MOODLE_400_STABLE' - database: mariadb - - php: 7.4 - moodle-branch: 'MOODLE_400_STABLE' - database: mariadb - - php: 8.0 - moodle-branch: 'MOODLE_400_STABLE' - database: mariadb + php: ['7.3', '7.4', '8.0'] + moodle-branch: ['MOODLE_400_STABLE'] + database: [mariadb] steps: - name: Check out repository code @@ -48,7 +41,7 @@ jobs: - name: Initialise moodle-plugin-ci run: | - composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3 + composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4 echo $(cd ci/bin; pwd) >> $GITHUB_PATH echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH sudo locale-gen en_AU.UTF-8