문의하기 구글 스프레드시트 API 요청 책임을 클라이언트에서 서버로 변경 #700
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Backend CI | |
on: | |
pull_request: | |
branches: | |
- dev/be | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 체크아웃 | |
uses: actions/checkout@v4 | |
- name: MySQL 시작 | |
uses: mirromutth/[email protected] | |
with: | |
host port: ${{ secrets.MYSQL_HOST_PORT }} | |
container port: ${{ secrets.MYSQL_CONTAINER_PORT }} | |
mysql version: ${{ secrets.MYSQL_VERSION }} | |
mysql database: ${{ secrets.MYSQL_DATABASE }} | |
mysql root password: ${{ secrets.MYSQL_PASSWORD }} | |
- name: gradle 캐싱 | |
uses: gradle/actions/setup-gradle@v4 | |
- name: JDK 17 설정 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: 환경변수 주입 | |
run: ${{ secrets.APPLICATION_YML }} | |
working-directory: ./backend/src/test/resources | |
- name: 테스트 코드 실행 | |
run: ./gradlew test | |
working-directory: ./backend |