ci(sansec-ecomscan): adopt cache-magento stamp cache (#251)

Adds `composer update --no-install` ahead of cache-magento so the
lock exists when the stamp key is computed, then flips on
stamp:true with the matching working-directory. This shortens
ecomscan runs from "full composer install" to "warm vendor/" on
warm hits.
This commit is contained in:
Damien Retzinger
2026-05-09 16:09:01 -04:00
committed by GitHub
parent 8d00f8149a
commit 5c04c25fe8
@@ -56,9 +56,14 @@ jobs:
magento_version: ${{ matrix.magento }}
composer_auth: ${{ secrets.COMPOSER_AUTH }}
- run: composer update --no-install
working-directory: ${{ steps.setup-magento.outputs.path }}
- uses: ./cache-magento
with:
composer_cache_key: ${{ matrix.magento }}
working-directory: ${{ steps.setup-magento.outputs.path }}
stamp: true
- name: Composer install
shell: bash