Skip to content

Commit 6505791

Browse files
CI love
1 parent 2fa8803 commit 6505791

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed

.github/workflows/test-turbo.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
php-version: ['8.1', '8.3']
41+
php-version: ['8.1', '8.4']
4242
include:
4343
- php-version: '8.1'
44-
dependency-version: 'lowest'
45-
- php-version: '8.3'
46-
dependency-version: 'highest'
44+
dependency-versions: 'lowest'
45+
- php-version: '8.4'
46+
dependency-versions: 'highest'
4747

4848
services:
4949
mercure:
@@ -62,8 +62,6 @@ jobs:
6262
- name: Checkout
6363
uses: actions/checkout@v4
6464

65-
- run: corepack enable
66-
6765
- name: Setup PHP
6866
uses: shivammathur/setup-php@v2
6967
with:
@@ -73,27 +71,15 @@ jobs:
7371
uses: ramsey/composer-install@v3
7472
with:
7573
working-directory: src/Turbo
76-
dependency-versions: ${{ matrix.dependency-version }}
77-
78-
- name: Get yarn cache directory path
79-
id: yarn-cache-dir-path
80-
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
81-
82-
- uses: actions/cache@v4
83-
id: yarn-cache
84-
with:
85-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
86-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }}
87-
restore-keys: |
88-
${{ runner.os }}-yarn-
74+
dependency-versions: ${{ matrix.dependency-versions }}
8975

9076
- name: Install JavaScript dependencies
9177
working-directory: src/Turbo/tests/app
92-
run: touch yarn.lock && yarn install --mode update-lockfile && yarn install
78+
run: npm install
9379

9480
- name: Build JavaScript
9581
working-directory: src/Turbo/tests/app
96-
run: yarn build
82+
run: npm run build
9783

9884
- name: Create DB
9985
working-directory: src/Turbo/tests/app

src/Turbo/tests/app/Kernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ protected function configureContainer(ContainerConfigurator $container): void
8181
'orm' => [
8282
'auto_generate_proxy_classes' => true,
8383
'auto_mapping' => true,
84+
'controller_resolver' => ['auto_mapping' => false],
8485
'mappings' => [
8586
'App' => [
8687
'is_bundle' => false,

0 commit comments

Comments
 (0)