Skip to content

[#62] 장소 목록 누락된 장소 상태 추가 #71

[#62] 장소 목록 누락된 장소 상태 추가

[#62] 장소 목록 누락된 장소 상태 추가 #71

Workflow file for this run

name: ci
on:
pull_request:
branches: [ "main", "develop" ]
jobs:
build:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Build and analyze
env:
cloud.aws.credentials.accessKey: ${{ secrets.AWS_ACCESS_KEY }}
cloud.aws.credentials.secretKey: ${{ secrets.AWS_SECRET_KEY }}
cloud.aws.region.static: ap-northeast-2
S3_BUCKET: ${{ secrets.S3_BUCKET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
run: |
export SPRING_CLOUD_AWS_CREDENTIALS_ACCESSKEY=$AWS_ACCESS_KEY
export SPRING_CLOUD_AWS_CREDENTIALS_SECRETKEY=$AWS_SECRET_KEY
export SPRING_CLOUD_AWS_REGION_STATIC=$AWS_REGION
export S3_BUCKET=$S3_BUCKET
export JWT_SECRET=$JWT_SECRET
./gradlew build sonar --info
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle