Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
olsi-qose committed Mar 12, 2021
1 parent d9ea974 commit 549a659
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/ide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
tools: composer:v1, prestissimo, pecl
extensions: bcmath, gd, pdo_mysql, zip, soap
tools: composer:v2, prestissimo, pecl
extensions: bcmath, gd, pdo_mysql, zip, soap, ast
coverage: none

- name: Install AST extension
run: sudo pecl install -f ast

#https://github.com/actions/cache/blob/master/examples.md#php---composer
- name: Cache composer packages
id: composer-cache
Expand All @@ -46,16 +43,10 @@ jobs:
composer install --prefer-dist --no-progress --no-suggest
############################################################################

# Not removing HHVM will lead to the following error:
# > Installation request for hhvm 4.49.0 -> satisfiable by hhvm[4.49.0].
- name: Remove HHVM
id: remove-hhvm
run: sudo apt remove hhvm

- name: Install Magento
id: install-magento
run: |
composer create-project magento/community-edition=2.4.1 magento
composer create-project magento/community-edition=2.4.2 magento --no-dev
cd magento
composer config minimum-stability dev
composer config prefer-stable true
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/phan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
tools: composer:v1, prestissimo, pecl
tools: composer:v2, prestissimo, pecl
coverage: none
extensions: ast, bcmath, gd, pdo_mysql, zip, soap

Expand All @@ -42,16 +42,10 @@ jobs:
composer install --prefer-dist --no-progress --no-suggest
############################################################################

# Not removing HHVM will lead to the following error:
# > Installation request for hhvm 4.49.0 -> satisfiable by hhvm[4.49.0].
- name: Remove HHVM
id: remove-hhvm
run: sudo apt remove hhvm

- name: Install Magento
id: install-magento
run: |
composer create-project magento/community-edition=2.4.1 magento
composer create-project magento/community-edition=2.4.2 magento --no-dev
cd magento
composer config minimum-stability dev
composer config prefer-stable true
Expand Down

0 comments on commit 549a659

Please sign in to comment.