Skip to content

Commit

Permalink
Release/1.2.0 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavofreze authored Dec 30, 2024
1 parent d32fa98 commit a9c7789
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Auto assign issues
name: Auto assign issues and pull requests

on:
issues:
types:
- opened
pull_request:
types:
- opened

jobs:
run:
Expand All @@ -12,11 +15,11 @@ jobs:
issues: write
pull-requests: write
steps:
- name: Assign issues
uses: gustavofreze/auto-assign@1.0.0
- name: Assign issues and pull requests
uses: gustavofreze/auto-assign@1.1.4
with:
assignees: '${{ secrets.ASSIGNEES }}'
github_token: '${{ secrets.GITHUB_TOKEN }}'
allow_self_assign: 'true'
allow_no_assignees: 'true'
assignment_options: 'ISSUE'
assignment_options: 'ISSUE,PULL_REQUEST'
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"php": "^8.3",
"symfony/process": "^7.1",
"tiny-blocks/ksuid": "^1",
"tiny-blocks/mapper": "^1",
"tiny-blocks/collection": "^1"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions src/Internal/Containers/Models/Address/Ports.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
namespace TinyBlocks\DockerContainer\Internal\Containers\Models\Address;

use TinyBlocks\Collection\Collection;
use TinyBlocks\Collection\PreserveKeys;
use TinyBlocks\DockerContainer\Contracts\Ports as ContainerPorts;
use TinyBlocks\Mapper\KeyPreservation;

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

return new Ports(exposedPorts: $exposedPorts);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/DockerContainerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function testMultipleContainersAreRunSuccessfully(): void
/** @Given a Flyway container is configured to perform database migrations */
$jdbcUrl = $mySQLContainer->getJdbcUrl();

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

0 comments on commit a9c7789

Please sign in to comment.