diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 9b6a362d..4026b35d 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -7,17 +7,15 @@ name: Gradle Build Docker Package run-name: ${{ github.actor }} is bootBuildImage Actions on: - release: - types: [ created ] - workflow_dispatch: + push: branches: - main pull_request: branches: - main - push: - branches: - - main + release: + types: [ created ] + permissions: contents: read packages: write diff --git a/boot/platform/src/main/java/com/plate/boot/config/R2dbcConfiguration.java b/boot/platform/src/main/java/com/plate/boot/config/R2dbcConfiguration.java index 966ad4d4..3c86d7d1 100644 --- a/boot/platform/src/main/java/com/plate/boot/config/R2dbcConfiguration.java +++ b/boot/platform/src/main/java/com/plate/boot/config/R2dbcConfiguration.java @@ -12,6 +12,7 @@ import org.springframework.data.domain.ReactiveAuditorAware; import org.springframework.data.r2dbc.config.AbstractR2dbcConfiguration; import org.springframework.data.r2dbc.config.EnableR2dbcAuditing; +import org.springframework.lang.NonNull; import org.springframework.transaction.annotation.EnableTransactionManagement; import java.util.List; @@ -28,12 +29,12 @@ public class R2dbcConfiguration extends AbstractR2dbcConfiguration { private final List> customConverters; @Override - public @lombok.NonNull ConnectionFactory connectionFactory() { + public @NonNull ConnectionFactory connectionFactory() { return ConnectionFactories.get("r2dbc:.."); } @Override - public @lombok.NonNull List getCustomConverters() { + public @NonNull List getCustomConverters() { return Lists.newArrayList(customConverters); }