From 9d8d026fbba36f1df85be427a52dde582fbd98b6 Mon Sep 17 00:00:00 2001 From: Renaat Debleu Date: Mon, 11 Mar 2024 14:37:22 +0000 Subject: [PATCH] version --- .github/workflows/cron.yml | 12 ------------ .github/workflows/main.yml | 6 +----- version.php | 8 ++++---- 3 files changed, 5 insertions(+), 21 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 3ff8bbc..2fdbe47 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -29,14 +29,6 @@ jobs: ini-values: max_input_vars=5000 coverage: pcov - - name: npm cache - uses: actions/cache@v3 - with: - path: ~/.npm - key: node-${{ matrix.php }}-${{ matrix.moodle-branch }}-${{ matrix.database }}-cache - restore-keys: | - node-${{ matrix.php }}-${{ matrix.moodle-branch }}-${{ matrix.database }}-cache - - name: composer run: | composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci @@ -55,10 +47,6 @@ jobs: if: ${{ !cancelled() }} run: moodle-plugin-ci --ansi phplint - - name: phpcpd - if: ${{ !cancelled() }} - run: moodle-plugin-ci --ansi phpcpd - - name: phpmd if: ${{ !cancelled() }} run: moodle-plugin-ci --ansi phpmd diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2094334..d879b05 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: fail-fast: false matrix: php: ['8.1'] - moodle-branch: ['MOODLE_401_STABLE', 'MOODLE_402_STABLE', 'MOODLE_403_STABLE'] + moodle-branch: ['MOODLE_402_STABLE', 'MOODLE_403_STABLE'] database: ['mariadb', 'pgsql'] include: - php: '8.2' @@ -69,10 +69,6 @@ jobs: if: ${{ !cancelled() }} run: moodle-plugin-ci --ansi phplint - - name: phpcpd - if: ${{ !cancelled() }} - run: moodle-plugin-ci --ansi phpcpd - - name: phpmd if: ${{ !cancelled() }} run: moodle-plugin-ci --ansi phpmd diff --git a/version.php b/version.php index cd6c405..c68c52b 100755 --- a/version.php +++ b/version.php @@ -25,9 +25,9 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->requires = 2020061500; $plugin->component = 'availability_coursecompleted'; +$plugin->requires = 2023042400; $plugin->maturity = MATURITY_STABLE; -$plugin->supported = [311, 403]; -$plugin->release = 'v4.0.1'; -$plugin->version = 2023101400; +$plugin->supported = [402, 403]; +$plugin->release = 'v4.2.1'; +$plugin->version = 2024031000;