diff --git a/.github/actions/setup-magento-plugin/action.yml b/.github/actions/setup-magento-plugin/action.yml index 5ea3af61..00263866 100644 --- a/.github/actions/setup-magento-plugin/action.yml +++ b/.github/actions/setup-magento-plugin/action.yml @@ -18,6 +18,10 @@ inputs: default: "trunk" required: false description: "Which Shopware version should be used" + migration-assistant-ref: + default: "16.2.0" + required: false + description: "Which SwagMigrationAssistant ref should be used" runs: using: composite @@ -48,6 +52,13 @@ runs: [ { "name": "SwagMigrationAssistant", - "repo": "https://github.com/shopware/SwagMigrationAssistant.git" + "repo": "https://github.com/shopware/SwagMigrationAssistant.git", + "branch": "${{ inputs.migration-assistant-ref }}" } ] + + - name: Fetch SwagMigrationAssistant tests for PHPStan + shell: bash + run: | + git -C custom/plugins/SwagMigrationAssistant fetch origin trunk + git -C custom/plugins/SwagMigrationAssistant checkout origin/trunk -- tests/ diff --git a/composer.json b/composer.json index 823dfac2..bbc37283 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "shopware/core": "~6.7", - "swag/migration-assistant": "~16.1" + "swag/migration-assistant": "16.2.0" }, "extra": { "shopware-plugin-class": "Swag\\MigrationMagento\\SwagMigrationMagento",