From b687e8e3a1c9b59ebab037a87945bbeabb2f0bc2 Mon Sep 17 00:00:00 2001 From: Matthew Hilton Date: Mon, 19 Aug 2024 12:00:11 +1000 Subject: [PATCH 1/2] [#121] Switch to lower nvm version --- .github/plugin/setup/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/plugin/setup/action.yml b/.github/plugin/setup/action.yml index f629ff8..6674eb4 100644 --- a/.github/plugin/setup/action.yml +++ b/.github/plugin/setup/action.yml @@ -63,6 +63,11 @@ runs: composer self-update ${{ steps.install-composer1.outputs.COMPOSER_VERSION }} shell: bash + - name: Install specific NVM version + run: | + # Install nvm v0.39.7 (temp workaround for issue https://github.com/moodlehq/moodle-plugin-ci/issues/309). + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash + shell: bash - name: Initialise moodle-plugin-ci run: | # Initialise moodle-plugin-ci (install via composer) From 5acd4b3b50f6861f62a51e6edddb3b281fd398e8 Mon Sep 17 00:00:00 2001 From: Matthew Hilton Date: Mon, 19 Aug 2024 12:51:16 +1000 Subject: [PATCH 2/2] [#123] Reference workflows via path --- .github/workflows/group-310-plus-ci.yml | 2 +- .github/workflows/group-310-plus-release.yml | 2 +- .github/workflows/group-311-plus-ci.yml | 2 +- .github/workflows/group-311-plus-release.yml | 2 +- .github/workflows/group-33-plus-ci.yml | 2 +- .github/workflows/group-33-plus-release.yml | 2 +- .github/workflows/group-33-to-38-ci.yml | 2 +- .github/workflows/group-33-to-38-release.yml | 2 +- .github/workflows/group-33-to-39-ci.yml | 2 +- .github/workflows/group-33-to-39-release.yml | 2 +- .github/workflows/group-34-plus-ci.yml | 2 +- .github/workflows/group-34-plus-release.yml | 2 +- .github/workflows/group-34-to-38-ci.yml | 2 +- .github/workflows/group-34-to-39-ci.yml | 2 +- .github/workflows/group-35-plus-ci.yml | 2 +- .github/workflows/group-35-plus-release.yml | 2 +- .github/workflows/group-35-to-310-ci.yml | 2 +- .github/workflows/group-35-to-311-ci.yml | 2 +- .github/workflows/group-35-to-39-ci.yml | 2 +- .github/workflows/group-35-to-39-release.yml | 2 +- .github/workflows/group-36-plus-ci.yml | 2 +- .github/workflows/group-36-plus-release.yml | 2 +- .github/workflows/group-37-plus-ci.yml | 2 +- .github/workflows/group-37-plus-release.yml | 2 +- .github/workflows/group-38-plus-ci.yml | 2 +- .github/workflows/group-38-plus-release.yml | 2 +- .github/workflows/group-39-plus-ci.yml | 2 +- .github/workflows/group-39-plus-release.yml | 2 +- .github/workflows/group-40-plus-ci.yml | 2 +- .github/workflows/group-40-plus-release.yml | 2 +- .github/workflows/moodle-311-release.yml | 2 +- .github/workflows/moodle-39-release.yml | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/group-310-plus-ci.yml b/.github/workflows/group-310-plus-ci.yml index f4fb7a5..74543a0 100644 --- a/.github/workflows/group-310-plus-ci.yml +++ b/.github/workflows/group-310-plus-ci.yml @@ -63,7 +63,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-310-plus-release.yml b/.github/workflows/group-310-plus-release.yml index 1a84dbe..8712713 100644 --- a/.github/workflows/group-310-plus-release.yml +++ b/.github/workflows/group-310-plus-release.yml @@ -61,7 +61,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-311-plus-ci.yml b/.github/workflows/group-311-plus-ci.yml index e547df2..04f4f0e 100644 --- a/.github/workflows/group-311-plus-ci.yml +++ b/.github/workflows/group-311-plus-ci.yml @@ -60,7 +60,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-311-plus-release.yml b/.github/workflows/group-311-plus-release.yml index 61223cd..78c0929 100644 --- a/.github/workflows/group-311-plus-release.yml +++ b/.github/workflows/group-311-plus-release.yml @@ -59,7 +59,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-33-plus-ci.yml b/.github/workflows/group-33-plus-ci.yml index f9354bd..8cbd6fd 100644 --- a/.github/workflows/group-33-plus-ci.yml +++ b/.github/workflows/group-33-plus-ci.yml @@ -87,7 +87,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-33-plus-release.yml b/.github/workflows/group-33-plus-release.yml index c277ace..2795c05 100644 --- a/.github/workflows/group-33-plus-release.yml +++ b/.github/workflows/group-33-plus-release.yml @@ -78,7 +78,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-33-to-38-ci.yml b/.github/workflows/group-33-to-38-ci.yml index baaa3fc..fd00c45 100644 --- a/.github/workflows/group-33-to-38-ci.yml +++ b/.github/workflows/group-33-to-38-ci.yml @@ -77,7 +77,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-33-to-38-release.yml b/.github/workflows/group-33-to-38-release.yml index 7b9a39e..a5165a5 100644 --- a/.github/workflows/group-33-to-38-release.yml +++ b/.github/workflows/group-33-to-38-release.yml @@ -72,7 +72,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-33-to-39-ci.yml b/.github/workflows/group-33-to-39-ci.yml index 89d1dde..6060b0e 100644 --- a/.github/workflows/group-33-to-39-ci.yml +++ b/.github/workflows/group-33-to-39-ci.yml @@ -81,7 +81,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-33-to-39-release.yml b/.github/workflows/group-33-to-39-release.yml index 8088701..5b428ad 100644 --- a/.github/workflows/group-33-to-39-release.yml +++ b/.github/workflows/group-33-to-39-release.yml @@ -72,7 +72,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-34-plus-ci.yml b/.github/workflows/group-34-plus-ci.yml index ab5f429..4304c28 100644 --- a/.github/workflows/group-34-plus-ci.yml +++ b/.github/workflows/group-34-plus-ci.yml @@ -83,7 +83,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-34-plus-release.yml b/.github/workflows/group-34-plus-release.yml index 4d8b1d1..a2cc9a1 100644 --- a/.github/workflows/group-34-plus-release.yml +++ b/.github/workflows/group-34-plus-release.yml @@ -74,7 +74,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-34-to-38-ci.yml b/.github/workflows/group-34-to-38-ci.yml index 6d293b2..b7eaa23 100644 --- a/.github/workflows/group-34-to-38-ci.yml +++ b/.github/workflows/group-34-to-38-ci.yml @@ -67,7 +67,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-34-to-39-ci.yml b/.github/workflows/group-34-to-39-ci.yml index 74e43aa..ad83a87 100644 --- a/.github/workflows/group-34-to-39-ci.yml +++ b/.github/workflows/group-34-to-39-ci.yml @@ -77,7 +77,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-35-plus-ci.yml b/.github/workflows/group-35-plus-ci.yml index 8a7e7e7..d93fb87 100644 --- a/.github/workflows/group-35-plus-ci.yml +++ b/.github/workflows/group-35-plus-ci.yml @@ -77,7 +77,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-35-plus-release.yml b/.github/workflows/group-35-plus-release.yml index 4c82029..54991d7 100644 --- a/.github/workflows/group-35-plus-release.yml +++ b/.github/workflows/group-35-plus-release.yml @@ -68,7 +68,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-35-to-310-ci.yml b/.github/workflows/group-35-to-310-ci.yml index 421c5ba..11a4439 100644 --- a/.github/workflows/group-35-to-310-ci.yml +++ b/.github/workflows/group-35-to-310-ci.yml @@ -75,7 +75,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-35-to-311-ci.yml b/.github/workflows/group-35-to-311-ci.yml index 05b558b..422abdf 100644 --- a/.github/workflows/group-35-to-311-ci.yml +++ b/.github/workflows/group-35-to-311-ci.yml @@ -74,7 +74,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-35-to-39-ci.yml b/.github/workflows/group-35-to-39-ci.yml index 878f827..50b4c98 100644 --- a/.github/workflows/group-35-to-39-ci.yml +++ b/.github/workflows/group-35-to-39-ci.yml @@ -76,7 +76,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-35-to-39-release.yml b/.github/workflows/group-35-to-39-release.yml index f0580f1..180656d 100644 --- a/.github/workflows/group-35-to-39-release.yml +++ b/.github/workflows/group-35-to-39-release.yml @@ -69,7 +69,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-36-plus-ci.yml b/.github/workflows/group-36-plus-ci.yml index 4b6b38b..6d17747 100644 --- a/.github/workflows/group-36-plus-ci.yml +++ b/.github/workflows/group-36-plus-ci.yml @@ -71,7 +71,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-36-plus-release.yml b/.github/workflows/group-36-plus-release.yml index e21b943..ab1c67f 100644 --- a/.github/workflows/group-36-plus-release.yml +++ b/.github/workflows/group-36-plus-release.yml @@ -65,7 +65,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-37-plus-ci.yml b/.github/workflows/group-37-plus-ci.yml index ebfcf40..efdcd19 100644 --- a/.github/workflows/group-37-plus-ci.yml +++ b/.github/workflows/group-37-plus-ci.yml @@ -71,7 +71,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-37-plus-release.yml b/.github/workflows/group-37-plus-release.yml index 4f35edb..87fac06 100644 --- a/.github/workflows/group-37-plus-release.yml +++ b/.github/workflows/group-37-plus-release.yml @@ -65,7 +65,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-38-plus-ci.yml b/.github/workflows/group-38-plus-ci.yml index b01df09..983ce27 100644 --- a/.github/workflows/group-38-plus-ci.yml +++ b/.github/workflows/group-38-plus-ci.yml @@ -65,7 +65,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-38-plus-release.yml b/.github/workflows/group-38-plus-release.yml index 6ed1cb3..36eeda6 100644 --- a/.github/workflows/group-38-plus-release.yml +++ b/.github/workflows/group-38-plus-release.yml @@ -62,7 +62,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-39-plus-ci.yml b/.github/workflows/group-39-plus-ci.yml index 431f53c..8413ae3 100644 --- a/.github/workflows/group-39-plus-ci.yml +++ b/.github/workflows/group-39-plus-ci.yml @@ -63,7 +63,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-39-plus-release.yml b/.github/workflows/group-39-plus-release.yml index 31e0c19..44a35d0 100644 --- a/.github/workflows/group-39-plus-release.yml +++ b/.github/workflows/group-39-plus-release.yml @@ -61,7 +61,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/group-40-plus-ci.yml b/.github/workflows/group-40-plus-ci.yml index 9bbbff3..173ec00 100644 --- a/.github/workflows/group-40-plus-ci.yml +++ b/.github/workflows/group-40-plus-ci.yml @@ -60,7 +60,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ././../plugin/setup/action.yml with: extra_php_extensions: ${{ inputs.extra_php_extensions }} extra_plugin_runners: ${{ inputs.extra_plugin_runners }} diff --git a/.github/workflows/group-40-plus-release.yml b/.github/workflows/group-40-plus-release.yml index 729f16e..6e31e15 100644 --- a/.github/workflows/group-40-plus-release.yml +++ b/.github/workflows/group-40-plus-release.yml @@ -58,7 +58,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/moodle-311-release.yml b/.github/workflows/moodle-311-release.yml index c985e2f..9c9ea32 100644 --- a/.github/workflows/moodle-311-release.yml +++ b/.github/workflows/moodle-311-release.yml @@ -56,7 +56,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }} diff --git a/.github/workflows/moodle-39-release.yml b/.github/workflows/moodle-39-release.yml index ba9d0aa..abc49ed 100644 --- a/.github/workflows/moodle-39-release.yml +++ b/.github/workflows/moodle-39-release.yml @@ -57,7 +57,7 @@ jobs: steps: - name: Run plugin setup - uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@main + uses: ./../plugin/setup/action.yml with: extra_plugin_runners: ${{ inputs.extra_plugin_runners }} disable_behat: ${{ inputs.disable_behat }}