From 634987792af1504639633f77c278763efd7b713b Mon Sep 17 00:00:00 2001 From: Arkadiusz Radziewicz Date: Fri, 7 Jul 2023 13:03:24 +0200 Subject: [PATCH 1/5] OP-175: Update ubuntu from 18.04 to 22.04 for github actions --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed067f3..f6c671d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ on: jobs: tests: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}" From 4cb5c22088b80c5a6481b2e8b0c65cf647092507 Mon Sep 17 00:00:00 2001 From: Arkadiusz Radziewicz Date: Fri, 7 Jul 2023 13:03:31 +0200 Subject: [PATCH 2/5] OP-175: Add build and contact badges to README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index ffef511..51522d9 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ ---- +[ ![](https://img.shields.io/github/actions/workflow/status/BitBagCommerce/SyliusPocztaPolskaShippingExportPlugin/build.yml) ](https://github.com/BitBagCommerce/SyliusPocztaPolskaShippingExportPlugin/actions "Build status") +[ ![Support](https://img.shields.io/badge/support-contact%20author-blue])](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_pocztapolska) + +---- +

From 68df105074cc16b6c62ecfa2c82256e2763c4e68 Mon Sep 17 00:00:00 2001 From: Arkadiusz Radziewicz Date: Fri, 7 Jul 2023 14:25:03 +0200 Subject: [PATCH 3/5] OP-175: Allow symfony/flex plugin in composer.json --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 537001b..4b799d3 100644 --- a/composer.json +++ b/composer.json @@ -57,7 +57,8 @@ "phpstan/extension-installer": true, "composer/package-versions-deprecated": true, "dealerdirect/phpcodesniffer-composer-installer": true, - "symfony/thanks": true + "symfony/thanks": true, + "symfony/flex": true } }, "prefer-stable": true, From cccfbc75826c3eef482833420471f43119cb73a5 Mon Sep 17 00:00:00 2001 From: Arkadiusz Radziewicz Date: Fri, 7 Jul 2023 14:36:43 +0200 Subject: [PATCH 4/5] OP-175: Enable symfony/flex globally in build action --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f6c671d..a12b1c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -95,6 +95,7 @@ jobs: name: Restrict Symfony version if: matrix.symfony != '' run: | + composer global config --no-plugins allow-plugins.symfony/flex true composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10" composer config extra.symfony.require "${{ matrix.symfony }}" From c805d47b44661a0c353b833d8684a94bb521fbb3 Mon Sep 17 00:00:00 2001 From: Arkadiusz Radziewicz Date: Mon, 10 Jul 2023 10:16:45 +0200 Subject: [PATCH 5/5] OP-175: Use main branch for build status label, remove deprecated versions of PHP from build, update bitbag/shipping-export-plugin to 3.0 --- .github/workflows/build.yml | 4 ++-- README.md | 2 +- composer.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a12b1c2..34962fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,9 +14,9 @@ jobs: strategy: fail-fast: false matrix: - php: ["7.4", "8.0"] + php: ["8.0"] symfony: ["^4.4", "^5.2"] - sylius: ["~1.10.0", "~1.11.0"] + sylius: ["~1.11.0"] node: [ "10.x" ] mysql: ["8.0"] diff --git a/README.md b/README.md index 51522d9..bf2b681 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ---- -[ ![](https://img.shields.io/github/actions/workflow/status/BitBagCommerce/SyliusPocztaPolskaShippingExportPlugin/build.yml) ](https://github.com/BitBagCommerce/SyliusPocztaPolskaShippingExportPlugin/actions "Build status") +[ ![](https://img.shields.io/github/actions/workflow/status/BitBagCommerce/SyliusPocztaPolskaShippingExportPlugin/build.yml?branch=master) ](https://github.com/BitBagCommerce/SyliusPocztaPolskaShippingExportPlugin/actions "Build status") [ ![Support](https://img.shields.io/badge/support-contact%20author-blue])](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_pocztapolska) ---- diff --git a/composer.json b/composer.json index 4b799d3..5932358 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ ], "require": { "php": "^7.4 || ^8.0", - "bitbag/shipping-export-plugin": "^1.7", + "bitbag/shipping-export-plugin": "^3.0", "printu/elektroniczny-nadawca": "dev-master", "sylius/sylius": "~1.10.0 || ~1.11.0", "ext-soap": "*"