Skip to content

Commit

Permalink
OP-374 - build.yml has been updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkalon committed Jul 16, 2024
1 parent 16e9ba4 commit d31b7ea
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,19 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ "8.0" ]
php: [ "8.1", "8.2", "8.3" ]
symfony: [ "^5.4", "^6.0" ]
sylius: [ "~1.11.0", "~1.12.0" ]
node: [ "^14.17.x" ]
mysql: [ "8.0" ]

exclude:
- sylius: ~1.11.0
symfony: "^6.0"
sylius: [ "~1.12.0", "~1.13.0" ]
node: [ "^18.x", "20.x" ]
mysql: [ "5.8", "8.0" ]

env:
APP_ENV: test
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}"

steps:
-
uses: actions/checkout@v2
uses: actions/checkout@v3

-
name: Setup PHP
Expand All @@ -50,14 +46,14 @@ jobs:

-
name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: "${{ matrix.node }}"

-
name: Shutdown default MySQL
run: sudo service mysql stop

-
name: Setup MySQL
uses: mirromutth/[email protected]
Expand Down Expand Up @@ -180,7 +176,7 @@ jobs:
path: etc/build/
if-no-files-found: ignore

-
-
name: Failed build Slack notification
uses: rtCamp/action-slack-notify@v2
if: ${{ failure() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') }}
Expand Down

0 comments on commit d31b7ea

Please sign in to comment.