From a9297edbf9efa90aa855c4ee69538e5d42a16887 Mon Sep 17 00:00:00 2001 From: Jimin0304 Date: Sat, 28 Oct 2023 20:19:23 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20database=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gradle.yml | 9 ++------- .../java/com/CSP2/switchcon/SwitchconApplication.java | 1 - .../CSP2/switchcon/security/config/SecurityConfig.java | 2 -- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 7408f04..ddd8355 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -28,15 +28,10 @@ jobs: with: java-version: '17' distribution: 'temurin' - - name: Setup MySQL - uses: samin/mysql-action@v1 - with: - character set server: 'utf8' - mysql database: 'switchcon' - mysql user: ${{ secrets.DATASOURCE_USERNAME }} - mysql password: ${{ secrets.DATASOURCE_PASSWORD }} + - name: Run chmod to make gradlew executable run: chmod +x ./gradlew + - name: Build with Gradle uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0 with: diff --git a/src/main/java/com/CSP2/switchcon/SwitchconApplication.java b/src/main/java/com/CSP2/switchcon/SwitchconApplication.java index 5004a13..06bb380 100644 --- a/src/main/java/com/CSP2/switchcon/SwitchconApplication.java +++ b/src/main/java/com/CSP2/switchcon/SwitchconApplication.java @@ -2,7 +2,6 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; @SpringBootApplication public class SwitchconApplication { diff --git a/src/main/java/com/CSP2/switchcon/security/config/SecurityConfig.java b/src/main/java/com/CSP2/switchcon/security/config/SecurityConfig.java index cf0498d..4e5420a 100644 --- a/src/main/java/com/CSP2/switchcon/security/config/SecurityConfig.java +++ b/src/main/java/com/CSP2/switchcon/security/config/SecurityConfig.java @@ -16,8 +16,6 @@ import org.springframework.security.web.SecurityFilterChain; import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter; -import static org.springframework.security.config.http.SessionCreationPolicy.STATELESS; - @Configuration @RequiredArgsConstructor public class SecurityConfig {