Skip to content

Commit

Permalink
feature #5985 Test Symfony 6.4 compatibility (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.x branch.

Discussion
----------

Test Symfony 6.4 compatibility

Commits
-------

274c5df Test Symfony 6.4 compatibility
  • Loading branch information
javiereguiluz committed Oct 27, 2023
2 parents 925e2a0 + 274c5df commit 05fe53c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:
matrix:
os: [ubuntu-latest]
php_version: ["8.1", "8.2"]
symfony_version: ["5.4", "6.0", "6.1", "6.2", "6.3"]
symfony_version: ["5.4", "6.0", "6.1", "6.2", "6.3", "6.4.0-beta1"]
stability: ["stable"]
include:
# Latest Symfony version support
- os: macos-latest
Expand All @@ -80,13 +81,18 @@ jobs:
- os: ubuntu-latest
php_version: "8.0.2"
composer_args: "--prefer-lowest"
# Lowest php version support. Remove when it is dropped
# Lowest PHP version support. Remove when it is dropped
- os: ubuntu-latest
php_version: "8.0"
symfony_version: "5.4"
- os: ubuntu-latest
php_version: "8.0"
symfony_version: "6.0"
# Upcoming Symfony versions
- os: ubuntu-latest
php_version: "8.1"
symfony_version: "6.4.0-beta1"
stability: "dev"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -105,6 +111,10 @@ jobs:
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require symfony/flex
- name: Configure Composer stability
run: |
composer config minimum-stability ${{ matrix.stability }}
- name: Configure Symfony version for symfony/flex
if: ${{ matrix.symfony_version }}
run: composer config extra.symfony.require "${{ matrix.symfony_version }}"
Expand Down
2 changes: 1 addition & 1 deletion src/Cache/CacheWarmer.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function isOptional(): bool
return false;
}

public function warmUp(string $cacheDir): array
public function warmUp(string $cacheDir, ?string $buildDir = null): array
{
$allRoutes = $this->router->getRouteCollection();
$dashboardRoutes = [];
Expand Down

0 comments on commit 05fe53c

Please sign in to comment.