Skip to content

Commit

Permalink
DevKit updates for 4.x branch (#1766)
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Langlet <vincentlanglet@hotmail.fr>
  • Loading branch information
SonataCI and VincentLanglet authored Jun 19, 2024
1 parent 8c451c7 commit b3d92dc
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
uses: actions/checkout@v4

- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: Install NPM dependencies
uses: bahmutov/npm-install@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
tools: composer:v2

- name: Install Composer dependencies (highest)
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
tools: composer:v2

- name: Install Composer dependencies (highest)
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand All @@ -58,7 +58,7 @@ jobs:
tools: composer:v2

- name: Install Composer dependencies (highest)
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand All @@ -82,7 +82,7 @@ jobs:
tools: composer:v2

- name: Install Composer dependencies (highest)
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/symfony-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
tools: composer:v2

- name: Install Composer dependencies (highest)
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand All @@ -58,7 +58,7 @@ jobs:
tools: composer:v2

- name: Install Composer dependencies (highest)
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand All @@ -82,7 +82,7 @@ jobs:
tools: composer:v2

- name: Install Composer dependencies (highest)
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand All @@ -106,7 +106,7 @@ jobs:
tools: composer:v2

- name: Install Composer dependencies (highest)
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ jobs:
run: composer require ${{ matrix.variant }} --no-update

- name: Install Composer dependencies (${{ matrix.dependencies }})
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}

- name: Run Tests with coverage
run: make coverage

- name: Send coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: build/logs/clover.xml
1 change: 0 additions & 1 deletion tests/Entity/SnapshotManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ public function testEnableSnapshots(): void
];
foreach ($fieldMappings as $fieldMapping) {
if (class_exists(FieldMapping::class)) {
/** @psalm-suppress InvalidArgument https://github.com/doctrine/orm/pull/11408 */
$classMetadata->addInheritedFieldMapping(FieldMapping::fromMappingArray($fieldMapping));
} else {
/**
Expand Down

0 comments on commit b3d92dc

Please sign in to comment.