Skip to content

Commit

Permalink
Merge pull request #5 from BitBagCommerce/OP-175-add-build-badge-and-…
Browse files Browse the repository at this point in the history
…fix-build-actions

Add build badge and fix build actions
  • Loading branch information
senghe authored Jul 10, 2023
2 parents 7bd5f77 + c805d47 commit 1e4e3a9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ 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 }}"

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"]

Expand Down Expand Up @@ -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 }}"
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

----

[ ![](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)

----

<p>
<img align="left" src="https://sylius.com/assets/badge-approved-by-sylius.png" width="85">
</p>
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*"
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 1e4e3a9

Please sign in to comment.