Skip to content

Commit

Permalink
Install PHP 8.1 compatible package in CI only
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Dec 2, 2021
1 parent 05c9c44 commit a0e60cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
phpcr-transport: jackrabbit
dependency-versions: 'lowest'
php-extensions: 'ctype, iconv, mysql, gd'
tools: 'composer:v2'
tools: 'composer:v1'
env:
SYMFONY_DEPRECATIONS_HELPER: disabled
DATABASE_URL: postgres://postgres:postgres@127.0.0.1:5432/sulu_test?serverVersion=12.5
Expand Down Expand Up @@ -169,6 +169,10 @@ jobs:
if: ${{ matrix.composer-stability }}
run: composer config minimum-stability ${{ matrix.composer-stability }}

- name: Install handcraftedinthealps/goodby-csv
if: ${{ matrix.php-version }} == '8.1'
run: composer require handcraftedinthealps/goodby-csv:^1.4

- name: Install composer dependencies
uses: ramsey/composer-install@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"friendsofsymfony/jsrouting-bundle": "^2.3",
"friendsofsymfony/rest-bundle": "^2.8 || ^3.0",
"gedmo/doctrine-extensions": "^2.4 || ^3.0",
"goodby/csv": "^1.3",
"guzzlehttp/promises": "^1.0",
"handcraftedinthealps/goodby-csv": "^1.4",
"handcraftedinthealps/rest-routing-bundle": "^1.0",
"imagine/imagine": "^0.6.1 || ^0.7.0 || ^1.0",
"jms/serializer": "^3.0",
Expand Down

0 comments on commit a0e60cc

Please sign in to comment.