mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
01e4ccbc54
This adds a new Github Action that semantically compares two versions, like 2.1.1 and 2.3.0 giving information about whether or the version is "higher" or "lower" than another version. The action exposes an output called `result` which will match the return type of the PHP [version_compare](https://www.php.net/manual/en/function.version-compare.php) function. Currently, this action compares `version` against `compare_against` and returns: - `-1` - if `version` is lower than `compare_against` - `0` - if `version` is equal to `compare_against` - `1` - if `version` is greater than `compare_against` Co-authored-by: Vitaliy Golomoziy <vitaliy.golomoziy@gmail.com>
3.1 KiB
3.1 KiB
Magento 2 GitHub Actions
Opinionated Github Actions and Workflows to make building, testing, and maintaining Magento 2 Modules easier.
Workflows
| Workflow Name | Description |
|---|---|
| Integration Test | A Github Workflow that runs the Integration Tests of a Magento Package |
Actions
| Action Name | Description |
|---|---|
| Unit Test | A Github Action that runs the Unit Tests a Magento Package |
| Fix Magento Install | A Github Action that fixes Magento before composer install |
| Cache Magento | A Github Action that creates a composer cache for a Magento extension or store. |
| Setup Magento | A Github Action that sets up Magento before composer install for an extension or store. |
| Get Magento Version | A Github Action that computes the installed Magento version. |
| Installation Test | A Github Action that tests the installability of a Magento Package |
| Semver Compare | A Github Action that semantically compares two versions |
| Supported Version | A Github Action that computes the currently supported Github Actions Matrix for Magento 2 |