Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/_internal-get-composer-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
- name: Set PHP Version
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:v2.4.2
php-version: 8.3
tools: composer:v2.8.4

- uses: ./get-composer-version
id: composer-version


- name: Fail if versions do not match
if: steps.composer-version.outputs.version != '2.4.2'
if: steps.composer-version.outputs.version != '2.8.4'
shell: bash
run: echo "${{ steps.composer-version.outputs.version }}" && exit 1

8 changes: 4 additions & 4 deletions .github/workflows/_internal-get-magento-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Set PHP Version
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:v2.4.2
php-version: 8.3
tools: composer:v2.8.4

- run: composer create-project --repository-url="https://mirror.mage-os.org" "magento/project-community-edition:2.4.5-p1" ../magento2 --no-install
- run: composer create-project --repository-url="https://mirror.mage-os.org" "magento/project-community-edition:2.4.7-p4" ../magento2 --no-install
shell: bash
name: Create Magento ${{ matrix.magento }} Project

Expand All @@ -37,7 +37,7 @@ jobs:
working-directory: ../magento2

- name: Fail if key does not match
if: steps.magento-version.outputs.version != '"2.4.5-p1"'
if: steps.magento-version.outputs.version != '"2.4.7-p4"'
shell: bash
run: echo "${{ steps.magento-version.outputs.version }}" && exit 1

6 changes: 3 additions & 3 deletions .github/workflows/_internal-setup-magento.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ jobs:
- uses: ./setup-magento
id: setup-magento
with:
php-version: 8.1
php-version: 8.3
tools: composer:v2
mode: extension
magento_version: magento/project-community-edition:2.4.5-p1
magento_version: magento/project-community-edition:2.4.7-p4

- uses: mage-os/github-actions/cache-magento@main
with:
mode: 'extension'
composer_cache_key: 'magento/project-community-edition:2.4.5-p1'
composer_cache_key: 'magento/project-community-edition:2.4.7-p4'

- run: composer install
name: Composer install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_internal-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
strategy:
matrix:
php_version:
- 7.4
- 8.1
- 8.2
- 8.3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
Loading
Loading