Skip to content

Commit a9c7789

Browse files
authored
Release/1.2.0 (#8)
1 parent d32fa98 commit a9c7789

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.github/workflows/auto-assign.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
name: Auto assign issues
1+
name: Auto assign issues and pull requests
22

33
on:
44
issues:
55
types:
66
- opened
7+
pull_request:
8+
types:
9+
- opened
710

811
jobs:
912
run:
@@ -12,11 +15,11 @@ jobs:
1215
issues: write
1316
pull-requests: write
1417
steps:
15-
- name: Assign issues
16-
uses: gustavofreze/auto-assign@1.0.0
18+
- name: Assign issues and pull requests
19+
uses: gustavofreze/auto-assign@1.1.4
1720
with:
1821
assignees: '${{ secrets.ASSIGNEES }}'
1922
github_token: '${{ secrets.GITHUB_TOKEN }}'
2023
allow_self_assign: 'true'
2124
allow_no_assignees: 'true'
22-
assignment_options: 'ISSUE'
25+
assignment_options: 'ISSUE,PULL_REQUEST'

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"php": "^8.3",
4343
"symfony/process": "^7.1",
4444
"tiny-blocks/ksuid": "^1",
45+
"tiny-blocks/mapper": "^1",
4546
"tiny-blocks/collection": "^1"
4647
},
4748
"require-dev": {

src/Internal/Containers/Models/Address/Ports.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
namespace TinyBlocks\DockerContainer\Internal\Containers\Models\Address;
66

77
use TinyBlocks\Collection\Collection;
8-
use TinyBlocks\Collection\PreserveKeys;
98
use TinyBlocks\DockerContainer\Contracts\Ports as ContainerPorts;
9+
use TinyBlocks\Mapper\KeyPreservation;
1010

1111
final readonly class Ports implements ContainerPorts
1212
{
@@ -18,7 +18,7 @@ public static function createFrom(array $elements): Ports
1818
{
1919
$exposedPorts = Collection::createFrom($elements['exposedPorts'])
2020
->filter()
21-
->toArray(preserveKeys: PreserveKeys::DISCARD);
21+
->toArray(keyPreservation: KeyPreservation::DISCARD);
2222

2323
return new Ports(exposedPorts: $exposedPorts);
2424
}

tests/Integration/DockerContainerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function testMultipleContainersAreRunSuccessfully(): void
4747
/** @Given a Flyway container is configured to perform database migrations */
4848
$jdbcUrl = $mySQLContainer->getJdbcUrl();
4949

50-
$flywayContainer = GenericDockerContainer::from(image: 'flyway/flyway:11.0.0')
50+
$flywayContainer = GenericDockerContainer::from(image: 'flyway/flyway:11.1.0')
5151
->withNetwork(name: 'tiny-blocks')
5252
->copyToContainer(pathOnHost: '/test-adm-migrations', pathOnContainer: '/flyway/sql')
5353
->withVolumeMapping(pathOnHost: '/test-adm-migrations', pathOnContainer: '/flyway/sql')

0 commit comments

Comments
 (0)