Skip to content

Commit dc40c1d

Browse files
fix: remove CREATE DATABASE/USE from V1 migration and upgrade setup-gradle to v4 (#99)
Agent-Logs-Url: https://github.com/EspacoGeek-Teams/SpringAPI_EspacoGeek/sessions/b1979d7a-8d26-4311-909c-2f4c3bf21524 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: vitorhugo-java <65777252+vitorhugo-java@users.noreply.github.com>
1 parent 331d29a commit dc40c1d

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
# Set up Gradle cache automatically
3939
- name: Setup Gradle (with caching)
40-
uses: gradle/actions/setup-gradle@v3
40+
uses: gradle/actions/setup-gradle@v4
4141

4242
# Ensure wrapper has execute permission
4343
- name: Make Gradle wrapper executable
@@ -94,7 +94,7 @@ jobs:
9494

9595
# Set up Gradle cache for builds
9696
- name: Setup Gradle (with caching)
97-
uses: gradle/actions/setup-gradle@v3
97+
uses: gradle/actions/setup-gradle@v4
9898

9999
# Ensure wrapper has execute permission (Linux runners)
100100
- name: Make Gradle wrapper executable
@@ -472,7 +472,7 @@ jobs:
472472

473473
# Set up Gradle with aggressive dependency and build-output caching
474474
- name: Setup Gradle (with caching)
475-
uses: gradle/actions/setup-gradle@v3
475+
uses: gradle/actions/setup-gradle@v4
476476
with:
477477
gradle-home-cache-cleanup: true
478478

src/main/resources/db/migration/V1__initial_schema.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
CREATE DATABASE IF NOT EXISTS `espacogeekdb` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
2-
USE `espacogeekdb`;
31
-- MySQL dump 10.13 Distrib 8.0.34, for Win64 (x86_64)
42
--
53
-- ------------------------------------------------------

0 commit comments

Comments
 (0)