Use the letest version of workflows

This commit is contained in:
Dmitrii Metelkin 2022-06-03 16:35:21 +10:00
parent f77ac17111
commit b2693a7b6f
4 changed files with 7 additions and 25 deletions

View file

@ -1,7 +1,8 @@
name: Run all tests for Moodle 33+ # .github/workflows/ci.yml
name: ci
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
workflow_group_33_plus_ci: ci:
uses: catalyst/catalyst-moodle-workflows/.github/workflows/group-33-plus-ci.yml@main uses: catalyst/catalyst-moodle-workflows/.github/workflows/ci.yml@main

View file

@ -1,20 +0,0 @@
#
# Whenever version.php is changed, add the latest version
# to the Moodle Plugins directory at https://moodle.org/plugins
#
name: MOODLE_33PLUS - Releasing in the Plugins directory
on:
push:
branches:
- MOODLE_33PLUS
paths:
- 'version.php'
jobs:
workflow_group_35_plus_release:
uses: catalyst/catalyst-moodle-workflows/.github/workflows/group-35-plus-release.yml@main
with:
plugin_name: auth_userkey
secrets:
moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }}

View file

@ -1,4 +1,5 @@
[![Build Status](https://github.com/catalyst/moodle-auth_userkey/workflows/Run%20all%20tests%20for%20Moodle%2033+/badge.svg)](https://github.com/catalyst/moodle-auth_userkey/actions) ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/catalyst/moodle-auth_userkey/ci/MOODLE_33PLUS)
Log in to Moodle using one time user key. Log in to Moodle using one time user key.
========================================= =========================================

View file

@ -29,4 +29,4 @@ $plugin->release = 2022011600; // Match release exactly to version.
$plugin->requires = 2017051500; // Requires Moodle 3.3 version. $plugin->requires = 2017051500; // Requires Moodle 3.3 version.
$plugin->component = 'auth_userkey'; // Full name of the plugin (used for diagnostics). $plugin->component = 'auth_userkey'; // Full name of the plugin (used for diagnostics).
$plugin->maturity = MATURITY_STABLE; $plugin->maturity = MATURITY_STABLE;
$plugin->supported = [33, 311]; // A range of branch numbers of supported moodle versions. $plugin->supported = [33, 401]; // A range of branch numbers of supported moodle versions.