🔀 :: [#524] - 애플리케이션 커맨드 실행시 커맨드 검증 수정 #321
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: Build and Test | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
jobs: | |
build-test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis:latest | |
ports: | |
- 6378:6379 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Cache Gradle dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
enableCrossOsArchive: true | |
- name: create test env file | |
run: | | |
cat << EOF > ./src/main/resources/application-test.yml | |
${{secrets.TEST_YML}} | |
EOF | |
- name: Build with Gradle | |
run: ./gradlew clean build |