File tree Expand file tree Collapse file tree 5 files changed +26
-18
lines changed Expand file tree Collapse file tree 5 files changed +26
-18
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [ master ]
66 pull_request :
7+ schedule :
8+ - cron : ' 0 0 * * 1'
79
810jobs :
911
@@ -18,12 +20,14 @@ jobs:
1820 fail-fast : false
1921 matrix :
2022 php : ['7.4' ,'8.0']
21- sylius : ["~1.8.0", "~1.9.0", "~1.10.0"]
23+ sylius : ["~1.8.0", "~1.9.0", "~1.10.0", "~1.11.0" ]
2224 exclude :
2325 - php : 8.0
2426 sylius : " ~1.8.0"
2527 - php : 8.0
2628 sylius : " ~1.9.0"
29+ - php : 7.4
30+ sylius : " ~1.11.0"
2731
2832 steps :
2933 - name : Setup PHP
5357 key : composer2-php:${{ matrix.php }}-sylius:${{ matrix.sylius }}-${{ github.sha }}
5458 restore-keys : composer2-php:${{ matrix.php }}-sylius:${{ matrix.sylius }}-
5559
56- - name : Composer v2
57- run : sudo composer self-update --2
58-
5960 - name : Composer Github Auth
6061 run : composer config -g github-oauth.github.com ${{ github.token }}
6162
7273 - name : Setup some requirements
7374 working-directory : ./sylius
7475 run : |
76+ composer config --no-plugins allow-plugins true
7577 composer config repositories.plugin '{"type": "path", "url": "../plugin/"}'
7678 composer config extra.symfony.allow-contrib true
7779 composer config secure-http false
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: Security
33on :
44 push :
55 pull_request :
6+ schedule :
7+ - cron : ' 0 0 * * 1'
68
79jobs :
810
3234 restore-keys : composer2-php:${{ matrix.php }}-
3335
3436 - run : mkdir -p /home/runner/{.composer/cache,.config/composer}
35- if : steps.cache-composer.outputs.cache-hit != 'true'
36-
37- - name : Composer v2
38- run : sudo composer self-update --2
3937
4038 - name : Composer Github Auth
4139 run : composer config -g github-oauth.github.com ${{ github.token }}
4543 - name : Install PHP dependencies
4644 run : composer update --prefer-dist
4745
48- - uses : symfonycorp/security-checker-action@v2
46+ - uses : symfonycorp/security-checker-action@v3
Original file line number Diff line number Diff line change 44 push :
55 branches : [ master ]
66 pull_request :
7+ schedule :
8+ - cron : ' 0 0 * * 1'
79
810jobs :
911
1416 strategy :
1517 fail-fast : false
1618 matrix :
17- php : ['7.4', ' 8.0']
19+ php : ['8.0']
1820
1921 env :
2022 SYMFONY_ARGS : --no-tls
3537
3638 - name : Install symfony CLI
3739 run : |
38- curl https://get.symfony.com/cli/installer | bash
39- echo "${HOME}/.symfony/bin" >> $GITHUB_PATH
40+ curl -1sLf ' https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | sudo -E bash
41+ sudo apt install symfony-cli
4042
4143 - uses : actions/cache@v1
4244 id : cache-composer
4648 restore-keys : composer2-php:${{ matrix.php }}-
4749
4850 - run : mkdir -p /home/runner/{.composer/cache,.config/composer}
49- if : steps.cache-composer.outputs.cache-hit != 'true'
50-
51- - name : Composer v2
52- run : sudo composer self-update --2
5351
5452 - name : Composer Github Auth
5553 run : composer config -g github-oauth.github.com ${{ github.token }}
Original file line number Diff line number Diff line change 11.DEFAULT_GOAL := help
22SHELL =/bin/bash
33APP_DIR =tests/Application
4- SYLIUS_VERSION =1.10 .0
4+ SYLIUS_VERSION =1.11 .0
55SYMFONY =cd ${APP_DIR} && symfony
66COMPOSER =symfony composer
77CONSOLE =${SYMFONY} console
@@ -69,6 +69,7 @@ setup_application:
6969 (cd ${APP_DIR} && ${COMPOSER} config repositories.plugin ' {"type": "path", "url": "../../"}' )
7070 (cd ${APP_DIR} && ${COMPOSER} config extra.symfony.allow-contrib true)
7171 (cd ${APP_DIR} && ${COMPOSER} config minimum-stability dev)
72+ (cd ${APP_DIR} && ${COMPOSER} config --no-plugins allow-plugins true)
7273 (cd ${APP_DIR} && ${COMPOSER} require --no-install --no-scripts --no-progress sylius/sylius=" ~${SYLIUS_VERSION} " ) # Make sure to install the required version of sylius because the sylius-standard has a soft constraint
7374 $(MAKE ) ${APP_DIR} /.php-version
7475 $(MAKE ) ${APP_DIR} /php.ini
Original file line number Diff line number Diff line change 66 "license" : " MIT" ,
77 "require" : {
88 "php" : " ~7.4|~8.0" ,
9- "sylius/sylius" : " >=1.8 <1.11 "
9+ "sylius/sylius" : " >=1.8 <1.12 "
1010 },
1111 "require-dev" : {
1212 "behat/behat" : " ^3.6.1" ,
6767 "branch-alias" : {
6868 "dev-master" : " 1.0-dev"
6969 }
70+ },
71+ "config" : {
72+ "allow-plugins" : {
73+ "dealerdirect/phpcodesniffer-composer-installer" : true ,
74+ "symfony/thanks" : true ,
75+ "phpstan/extension-installer" : true ,
76+ "ergebnis/composer-normalize" : true ,
77+ "symfony/flex" : true
78+ }
7079 }
7180}
You can’t perform that action at this time.
0 commit comments