[BE] 체크리스트 지하철 정보 저장 시 위도, 경도가 NULL 인 경우도 허용한다. #500
Workflow file for this run
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: [ "main", "dev", "dev-be" ] | |
paths: 'backend/**' | |
defaults: | |
run: | |
working-directory: backend/bang-ggood | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
with: | |
gradle-version: 8.8 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Write application.yml | |
env: | |
APPLICATION_YML: ${{ secrets.APPLICATION_YML }} | |
APPLICATION_LOCAL_YML: ${{ secrets.APPLICATION_LOCAL_YML }} | |
APPLICATION_TEST_YML: ${{ secrets.APPLICATION_TEST_YML }} | |
APPLICATION_READ_WRITE_TEST_YML: ${{ secrets.APPLICATION_READ_WRITE_TEST_YML }} | |
run: | | |
echo "${APPLICATION_YML}" > src/test/resources/application.yml | |
echo "${APPLICATION_LOCAL_YML}" > src/test/resources/application-local.yml | |
echo "${APPLICATION_TEST_YML}" > src/test/resources/application-test.yml | |
echo "${APPLICATION_READ_WRITE_TEST_YML}" > src/test/resources/application-read-write-test.yml | |
- name: Build with Gradle | |
run: ./gradlew clean build | |