Skip to content

Commit 7aa1dd3

Browse files
Merge pull request #43 from StijnKlopper2k/master
Upgrade deprecated actions/cache in workflow to v4 + fix failing unit test
2 parents 7aa712a + 22f946c commit 7aa1dd3

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/main.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
php-version: ${{ matrix.php-versions }}
2222
- name: Get composer cache directory
2323
id: composer-cache
24-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
25-
- uses: actions/cache@v2
24+
run: |
25+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
26+
- uses: actions/cache@v4
2627
with:
2728
path: ${{ steps.composer-cache.outputs.dir }}
2829
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

test/Provider/EntityMutationMetadataProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function testChangesNewEntityFlushed(): void
9494

9595
self::assertEquals([
9696
Gallery::class => [$gallery],
97-
Visitor::class => [$v1, $v2],
97+
Visitor::class => [$v2, $v1],
9898
], $this->provider->getFullChangeSet($this->em));
9999
}
100100

0 commit comments

Comments
 (0)