Skip to content

Conversation

@dennisvang
Copy link
Collaborator

@dennisvang dennisvang commented Nov 14, 2025

The changes from #40 expect a db-version, but it is complicated to handle a default value for mongo and postgres together.

Unfortunately Github actions cannot fall back on the action's default if the reusable workflow specifies the parameter.

We could specify default versions for both mongo and postgres, but then we need to maintain those hard-coded versions.

Therefore, the best option is to make the db-version required.
While we're at it, better make the db-type required as well, otherwise it makes no sense.
Note that we can still skip all db setup by specifying a non-existent db-type (e.g. empty string)

@dennisvang dennisvang force-pushed the fix/issue39-postgres-version branch from fb05d30 to ec19fc1 Compare November 14, 2025 09:30
@dennisvang dennisvang force-pushed the fix/issue39-postgres-version branch from ec19fc1 to af5c453 Compare November 14, 2025 09:46
@dennisvang dennisvang changed the title Make postgres-version backward compatible Make db-type and db-version required for maven-verify workflow Nov 14, 2025
@dennisvang dennisvang marked this pull request as ready for review November 14, 2025 09:53
@dennisvang dennisvang merged commit ea65fcb into main Nov 14, 2025
8 checks passed
@dennisvang dennisvang deleted the fix/issue39-postgres-version branch November 14, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants