From 2e1e290a0269e6458fc7dd33b06ccd802dfc8a16 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Tue, 18 Oct 2022 08:51:19 -0400 Subject: [PATCH 1/9] feat(cache-magento): add specialized Magento cache action --- README.md | 1 + cache-magento/README.md | 47 ++++++++++++++++++++++ cache-magento/action.yml | 87 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 135 insertions(+) create mode 100644 cache-magento/README.md create mode 100644 cache-magento/action.yml diff --git a/README.md b/README.md index 6418d506..dd848801 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ Opinionated Github Actions and Workflows to make building, testing, and maintain | ------------------------------------------------------ | ----------------------------------------------------------------------------------------- | | [Unit Test](./unit-test/README.md) | A Github Action that runs the Unit Tests a Magento Package | | [Fix Magento Install](./fix-magento-install/README.md) | A Github Action that fixes Magento before `composer install` | +| [Cache Magento](./cache-magento/README.md) | A Github action that caches Magento-related things in order to make CI faster. | | [Get Magento Version](./get-magento-version/README.md) | A Github Action that computes the installed Magento version. | | [Installation Test](./installation-test/README.md) | A Github Action that tests the installability of a Magento Package | | [Supported Version](./supported-version/README.md) | A Github Action that computes the currently supported Github Actions Matrix for Magento 2 | \ No newline at end of file diff --git a/cache-magento/README.md b/cache-magento/README.md new file mode 100644 index 00000000..99f43406 --- /dev/null +++ b/cache-magento/README.md @@ -0,0 +1,47 @@ +# Fix Magento Install Action + +A Github Action caches Magento-y things in order to make CI faster. + +## Inputs + +## Inputs + +See the [action.yml](./action.yml) + +| Input | Description | Required | Default | +| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------------ | +| composer_cache_key | A key to version the composer cache. Can be incremented if you need to bust the cache. | false | '__graycore' | +| snapshot | A boolean indicating whether or not to use a moment in time cache of Magento exactly as output by composer install. This will make installs faster, but will skip composer plugins. Use with caution. | false | 'false' | +| mode | "The mode for setup, one of: `extension` or `store`." | true | N/A | +| working-directory | The working directory for the action to run in. | true | N/A | + +### Usage + +```yml +name: Showcase Magento Cache + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + showcase_cache: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: graycoreio/github-actions-magento2/cache-magento@main + with: + working-directory: $GITHUB_WORKSPACE + mode: 'store' + id: setup-magento-cache-magento + + - run: composer install + shell: bash + name: Composer install + if: steps.setup-magento-cache-magento.outputs.cache-hit != 'true' + +``` \ No newline at end of file diff --git a/cache-magento/action.yml b/cache-magento/action.yml new file mode 100644 index 00000000..0242692f --- /dev/null +++ b/cache-magento/action.yml @@ -0,0 +1,87 @@ +name: "Cache Magento 2 for Pipeline" +author: "Graycore" +description: "A Github Action that computes the Github Actions matrix for the chosen versions of Magento 2" + +inputs: + composer_cache_key: + required: false + default: "__graycore" + description: A key to version the composer cache. Can be incremented if you need to bust the cache. + + snapshot: + required: false + default: "false" + description: "A boolean indicating whether or not to use a moment in time cache of Magento exactly as output by composer install. This will make installs faster, but will skip composer plugins. Use with caution." + + mode: + required: true + description: "The mode for setup, one of: `extension` or `store`." + + working-directory: + required: true + description: "The working directory for the action to run in." + +outputs: + cache-hit: + description: "A boolean value to indicate an exact match was found for the key" + value: ${{ steps.cache-magento-cache.outputs.cache-hit }} + +runs: + using: "composite" + steps: + - name: Get Composer Cache Directory + shell: bash + id: cache-magento-composer-cache + working-directory: ${{ inputs.working-directory }} + run: | + echo "GRAYCORE_GA_COMPOSER_CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV + + ## We dynamically compute the folder to cache based upon user settings. + ## | Mode | Snapshot | Directory | + ## |-----------|----------|--------------------| + ## | store | 0 | cache-files-dir | + ## | store | 1 | vendor | + ## | extension | 0 | cache-files-dir | + ## | extension | 1 | Magento Repo | + - name: Get composer cached folder + shell: bash + id: cache-magento-composer-compute-dir + run: | + if [ "${{ inputs.snapshot }}" = 'false' ]; then + CACHE_DIR='${{ env.GRAYCORE_GA_COMPOSER_CACHE_DIR }}' + else + if [ "${{ inputs.mode }}" = 'extension' ]; then + CACHE_DIR=$(realpath '${{ inputs.working-directory }}') + else + CACHE_DIR=$(realpath '${{ inputs.working-directory }}/vendor') + fi + fi + echo "MAGENTO_CACHE_DIR=$CACHE_DIR" >> $GITHUB_ENV + + - uses: graycoreio/github-actions-magento2/get-magento-version@main + id: cache-magento-get-magento-version + with: + working-directory: ${{ inputs.working-directory }} + + - run: echo "::set-output name=version::$(php -v | awk 'NR==1{print $2}')" + shell: bash + id: cache-magento-get-php-version + working-directory: ${{ inputs.working-directory }} + + - run: echo "::set-output name=version::$(composer --version | awk '{print $3}')" + shell: bash + name: Compute Composer Version + id: cache-magento-get-composer-version + working-directory: ${{ inputs.working-directory }} + + - name: "Cache Composer Packages" + uses: actions/cache@v3 + id: cache-magento-cache + with: + key: "composer | v5.5${{ inputs.snapshot != 'false' && '-snap' || '' }} | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-magento-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}" + path: ${{ env.MAGENTO_CACHE_DIR }} + + +branding: + icon: "code" + color: "green" From f33c86d87a427b12c63af760cfd9601b19cf11fd Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Tue, 18 Oct 2022 11:20:42 -0400 Subject: [PATCH 2/9] remove magento version requirement --- cache-magento/action.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cache-magento/action.yml b/cache-magento/action.yml index 0242692f..1cd876cd 100644 --- a/cache-magento/action.yml +++ b/cache-magento/action.yml @@ -57,11 +57,6 @@ runs: fi fi echo "MAGENTO_CACHE_DIR=$CACHE_DIR" >> $GITHUB_ENV - - - uses: graycoreio/github-actions-magento2/get-magento-version@main - id: cache-magento-get-magento-version - with: - working-directory: ${{ inputs.working-directory }} - run: echo "::set-output name=version::$(php -v | awk 'NR==1{print $2}')" shell: bash @@ -78,7 +73,7 @@ runs: uses: actions/cache@v3 id: cache-magento-cache with: - key: "composer | v5.5${{ inputs.snapshot != 'false' && '-snap' || '' }} | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-magento-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}" + key: "composer | v5.5${{ inputs.snapshot != 'false' && '-snap' || '' }} | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}" path: ${{ env.MAGENTO_CACHE_DIR }} From 420bbf2302c54dd0737795edef2e10f2897d8cb0 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Tue, 18 Oct 2022 12:20:51 -0400 Subject: [PATCH 3/9] cache: use global cache --- cache-magento/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache-magento/action.yml b/cache-magento/action.yml index 1cd876cd..5738bb78 100644 --- a/cache-magento/action.yml +++ b/cache-magento/action.yml @@ -34,7 +34,7 @@ runs: id: cache-magento-composer-cache working-directory: ${{ inputs.working-directory }} run: | - echo "GRAYCORE_GA_COMPOSER_CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV + echo "GRAYCORE_GA_COMPOSER_CACHE_DIR=$(composer config cache-files-dir --global)" >> $GITHUB_ENV ## We dynamically compute the folder to cache based upon user settings. ## | Mode | Snapshot | Directory | From 1915d184254314587e82b223047077f3f8d7fdc4 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Wed, 19 Oct 2022 13:28:04 -0400 Subject: [PATCH 4/9] feat(cache-magent): change working-directory to Magento directory --- cache-magento/README.md | 19 +++++++++++++------ cache-magento/action.yml | 14 +++++++------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/cache-magento/README.md b/cache-magento/README.md index 99f43406..64beec10 100644 --- a/cache-magento/README.md +++ b/cache-magento/README.md @@ -4,7 +4,6 @@ A Github Action caches Magento-y things in order to make CI faster. ## Inputs -## Inputs See the [action.yml](./action.yml) @@ -13,7 +12,16 @@ See the [action.yml](./action.yml) | composer_cache_key | A key to version the composer cache. Can be incremented if you need to bust the cache. | false | '__graycore' | | snapshot | A boolean indicating whether or not to use a moment in time cache of Magento exactly as output by composer install. This will make installs faster, but will skip composer plugins. Use with caution. | false | 'false' | | mode | "The mode for setup, one of: `extension` or `store`." | true | N/A | -| working-directory | The working directory for the action to run in. | true | N/A | +| magento_directory | The Magento directory for the action to run against. | true | N/A | + +### Modes and Snapshots + +When snapshot is `false` the modes `extension` and `store` exactly the same and cache the `files-dir` of compose. + +However: + +- When `snapshot` is `'true'` the `extension` mode will cache the entire `magento_directory` (assumed to be the the Magento store). +- When `snapshot` is `'true'` the `store` mode will cache the `vendor` folder of the `magento_directory` (assumed to be the the Magento store). ### Usage @@ -35,13 +43,12 @@ jobs: - uses: actions/checkout@v3 - uses: graycoreio/github-actions-magento2/cache-magento@main with: - working-directory: $GITHUB_WORKSPACE + magento_directory: $GITHUB_WORKSPACE mode: 'store' - id: setup-magento-cache-magento + id: cache-magento - run: composer install shell: bash name: Composer install - if: steps.setup-magento-cache-magento.outputs.cache-hit != 'true' - + if: steps.cache-magento.outputs.cache-hit != 'true' ``` \ No newline at end of file diff --git a/cache-magento/action.yml b/cache-magento/action.yml index 5738bb78..478059db 100644 --- a/cache-magento/action.yml +++ b/cache-magento/action.yml @@ -17,9 +17,9 @@ inputs: required: true description: "The mode for setup, one of: `extension` or `store`." - working-directory: + magento_directory: required: true - description: "The working directory for the action to run in." + description: "The Magento directory for the action to run against." outputs: cache-hit: @@ -32,7 +32,7 @@ runs: - name: Get Composer Cache Directory shell: bash id: cache-magento-composer-cache - working-directory: ${{ inputs.working-directory }} + working-directory: ${{ inputs.magento_directory }} run: | echo "GRAYCORE_GA_COMPOSER_CACHE_DIR=$(composer config cache-files-dir --global)" >> $GITHUB_ENV @@ -51,9 +51,9 @@ runs: CACHE_DIR='${{ env.GRAYCORE_GA_COMPOSER_CACHE_DIR }}' else if [ "${{ inputs.mode }}" = 'extension' ]; then - CACHE_DIR=$(realpath '${{ inputs.working-directory }}') + CACHE_DIR=$(realpath '${{ inputs.magento_directory }}') else - CACHE_DIR=$(realpath '${{ inputs.working-directory }}/vendor') + CACHE_DIR=$(realpath '${{ inputs.magento_directory }}/vendor') fi fi echo "MAGENTO_CACHE_DIR=$CACHE_DIR" >> $GITHUB_ENV @@ -61,13 +61,13 @@ runs: - run: echo "::set-output name=version::$(php -v | awk 'NR==1{print $2}')" shell: bash id: cache-magento-get-php-version - working-directory: ${{ inputs.working-directory }} + working-directory: ${{ inputs.magento_directory }} - run: echo "::set-output name=version::$(composer --version | awk '{print $3}')" shell: bash name: Compute Composer Version id: cache-magento-get-composer-version - working-directory: ${{ inputs.working-directory }} + working-directory: ${{ inputs.magento_directory }} - name: "Cache Composer Packages" uses: actions/cache@v3 From c191590c1a4ed2a9ba56976c19916e63d727f006 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Fri, 21 Oct 2022 10:00:33 -0400 Subject: [PATCH 5/9] use entire composer cache --- cache-magento/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cache-magento/action.yml b/cache-magento/action.yml index 478059db..b7253a24 100644 --- a/cache-magento/action.yml +++ b/cache-magento/action.yml @@ -34,7 +34,7 @@ runs: id: cache-magento-composer-cache working-directory: ${{ inputs.magento_directory }} run: | - echo "GRAYCORE_GA_COMPOSER_CACHE_DIR=$(composer config cache-files-dir --global)" >> $GITHUB_ENV + echo "GRAYCORE_GA_COMPOSER_CACHE_DIR=$(composer config cache-dir --global)" >> $GITHUB_ENV ## We dynamically compute the folder to cache based upon user settings. ## | Mode | Snapshot | Directory | @@ -73,7 +73,7 @@ runs: uses: actions/cache@v3 id: cache-magento-cache with: - key: "composer | v5.5${{ inputs.snapshot != 'false' && '-snap' || '' }} | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}" + key: "composer | v5.7${{ inputs.snapshot != 'false' && '-snap' || '' }} | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}" path: ${{ env.MAGENTO_CACHE_DIR }} From 0be7dfedfad98653b7ff5393abde1a22957c7abc Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Fri, 21 Oct 2022 13:26:50 -0400 Subject: [PATCH 6/9] drop cache snapshot --- cache-magento/action.yml | 33 +++------------------------------ 1 file changed, 3 insertions(+), 30 deletions(-) diff --git a/cache-magento/action.yml b/cache-magento/action.yml index b7253a24..378af556 100644 --- a/cache-magento/action.yml +++ b/cache-magento/action.yml @@ -8,11 +8,6 @@ inputs: default: "__graycore" description: A key to version the composer cache. Can be incremented if you need to bust the cache. - snapshot: - required: false - default: "false" - description: "A boolean indicating whether or not to use a moment in time cache of Magento exactly as output by composer install. This will make installs faster, but will skip composer plugins. Use with caution." - mode: required: true description: "The mode for setup, one of: `extension` or `store`." @@ -34,29 +29,7 @@ runs: id: cache-magento-composer-cache working-directory: ${{ inputs.magento_directory }} run: | - echo "GRAYCORE_GA_COMPOSER_CACHE_DIR=$(composer config cache-dir --global)" >> $GITHUB_ENV - - ## We dynamically compute the folder to cache based upon user settings. - ## | Mode | Snapshot | Directory | - ## |-----------|----------|--------------------| - ## | store | 0 | cache-files-dir | - ## | store | 1 | vendor | - ## | extension | 0 | cache-files-dir | - ## | extension | 1 | Magento Repo | - - name: Get composer cached folder - shell: bash - id: cache-magento-composer-compute-dir - run: | - if [ "${{ inputs.snapshot }}" = 'false' ]; then - CACHE_DIR='${{ env.GRAYCORE_GA_COMPOSER_CACHE_DIR }}' - else - if [ "${{ inputs.mode }}" = 'extension' ]; then - CACHE_DIR=$(realpath '${{ inputs.magento_directory }}') - else - CACHE_DIR=$(realpath '${{ inputs.magento_directory }}/vendor') - fi - fi - echo "MAGENTO_CACHE_DIR=$CACHE_DIR" >> $GITHUB_ENV + echo "dir=$(composer config cache-dir --global)" >> $GITHUB_OUTPUT - run: echo "::set-output name=version::$(php -v | awk 'NR==1{print $2}')" shell: bash @@ -73,8 +46,8 @@ runs: uses: actions/cache@v3 id: cache-magento-cache with: - key: "composer | v5.7${{ inputs.snapshot != 'false' && '-snap' || '' }} | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}" - path: ${{ env.MAGENTO_CACHE_DIR }} + key: "composer | v5.7 | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}" + path: ${{ steps.cache-magento-composer-cache.outputs.dir }} branding: From 02c472a56c75e4784ee68cd0f291b87ac4c8a6e5 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Fri, 21 Oct 2022 13:35:38 -0400 Subject: [PATCH 7/9] cache only files dir --- cache-magento/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cache-magento/action.yml b/cache-magento/action.yml index 378af556..a3593209 100644 --- a/cache-magento/action.yml +++ b/cache-magento/action.yml @@ -29,7 +29,7 @@ runs: id: cache-magento-composer-cache working-directory: ${{ inputs.magento_directory }} run: | - echo "dir=$(composer config cache-dir --global)" >> $GITHUB_OUTPUT + echo "dir=$(composer config cache-files-dir --global)" >> $GITHUB_OUTPUT - run: echo "::set-output name=version::$(php -v | awk 'NR==1{print $2}')" shell: bash @@ -46,7 +46,7 @@ runs: uses: actions/cache@v3 id: cache-magento-cache with: - key: "composer | v5.7 | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}" + key: "composer | v5.8 | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}" path: ${{ steps.cache-magento-composer-cache.outputs.dir }} From 27b83ad59e0f6ef733c08ef5f994b0ce4b507638 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Sun, 30 Oct 2022 12:12:49 -0400 Subject: [PATCH 8/9] simplify action --- cache-magento/README.md | 27 ++++++++------------------- cache-magento/action.yml | 12 ++---------- 2 files changed, 10 insertions(+), 29 deletions(-) diff --git a/cache-magento/README.md b/cache-magento/README.md index 64beec10..4aa7e80f 100644 --- a/cache-magento/README.md +++ b/cache-magento/README.md @@ -1,32 +1,22 @@ -# Fix Magento Install Action +# Cache Magento Action -A Github Action caches Magento-y things in order to make CI faster. +A Github Action that creates a composer cache for a Magento extension or store. ## Inputs See the [action.yml](./action.yml) -| Input | Description | Required | Default | -| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------------ | -| composer_cache_key | A key to version the composer cache. Can be incremented if you need to bust the cache. | false | '__graycore' | -| snapshot | A boolean indicating whether or not to use a moment in time cache of Magento exactly as output by composer install. This will make installs faster, but will skip composer plugins. Use with caution. | false | 'false' | -| mode | "The mode for setup, one of: `extension` or `store`." | true | N/A | -| magento_directory | The Magento directory for the action to run against. | true | N/A | - -### Modes and Snapshots - -When snapshot is `false` the modes `extension` and `store` exactly the same and cache the `files-dir` of compose. - -However: - -- When `snapshot` is `'true'` the `extension` mode will cache the entire `magento_directory` (assumed to be the the Magento store). -- When `snapshot` is `'true'` the `store` mode will cache the `vendor` folder of the `magento_directory` (assumed to be the the Magento store). +| Input | Description | Required | Default | +| ------------------ | -------------------------------------------------------------------------------------- | -------- | ------------ | +| composer_cache_key | A key to version the composer cache. Can be incremented if you need to bust the cache. | false | '__graycore' | +| mode | "The mode for setup, one of: `extension` or `store`." | true | N/A | +| magento_directory | The Magento directory for the action to run against. | true | N/A | ### Usage ```yml -name: Showcase Magento Cache +name: Magento Cache on: push: @@ -50,5 +40,4 @@ jobs: - run: composer install shell: bash name: Composer install - if: steps.cache-magento.outputs.cache-hit != 'true' ``` \ No newline at end of file diff --git a/cache-magento/action.yml b/cache-magento/action.yml index a3593209..9ff856b3 100644 --- a/cache-magento/action.yml +++ b/cache-magento/action.yml @@ -1,6 +1,6 @@ name: "Cache Magento 2 for Pipeline" author: "Graycore" -description: "A Github Action that computes the Github Actions matrix for the chosen versions of Magento 2" +description: "A Github Action that creates a composer cache for a Magento extension or store." inputs: composer_cache_key: @@ -12,10 +12,6 @@ inputs: required: true description: "The mode for setup, one of: `extension` or `store`." - magento_directory: - required: true - description: "The Magento directory for the action to run against." - outputs: cache-hit: description: "A boolean value to indicate an exact match was found for the key" @@ -27,20 +23,17 @@ runs: - name: Get Composer Cache Directory shell: bash id: cache-magento-composer-cache - working-directory: ${{ inputs.magento_directory }} run: | echo "dir=$(composer config cache-files-dir --global)" >> $GITHUB_OUTPUT - + - run: echo "::set-output name=version::$(php -v | awk 'NR==1{print $2}')" shell: bash id: cache-magento-get-php-version - working-directory: ${{ inputs.magento_directory }} - run: echo "::set-output name=version::$(composer --version | awk '{print $3}')" shell: bash name: Compute Composer Version id: cache-magento-get-composer-version - working-directory: ${{ inputs.magento_directory }} - name: "Cache Composer Packages" uses: actions/cache@v3 @@ -48,7 +41,6 @@ runs: with: key: "composer | v5.8 | ${{ inputs.composer_cache_key }} | ${{ steps.cache-magento-get-composer-version.outputs.version }} | ${{ steps.cache-magento-get-php-version.outputs.version }}" path: ${{ steps.cache-magento-composer-cache.outputs.dir }} - branding: icon: "code" From dad83405ae27d83ad092e17d7857b95146ef8208 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Sun, 30 Oct 2022 12:14:21 -0400 Subject: [PATCH 9/9] docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd848801..ba97b6bb 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Opinionated Github Actions and Workflows to make building, testing, and maintain | ------------------------------------------------------ | ----------------------------------------------------------------------------------------- | | [Unit Test](./unit-test/README.md) | A Github Action that runs the Unit Tests a Magento Package | | [Fix Magento Install](./fix-magento-install/README.md) | A Github Action that fixes Magento before `composer install` | -| [Cache Magento](./cache-magento/README.md) | A Github action that caches Magento-related things in order to make CI faster. | +| [Cache Magento](./cache-magento/README.md) | A Github Action that creates a composer cache for a Magento extension or store. | | [Get Magento Version](./get-magento-version/README.md) | A Github Action that computes the installed Magento version. | | [Installation Test](./installation-test/README.md) | A Github Action that tests the installability of a Magento Package | | [Supported Version](./supported-version/README.md) | A Github Action that computes the currently supported Github Actions Matrix for Magento 2 | \ No newline at end of file