Hotfix: 만약 결제 승인요청이 동시 들어왔을 경우, 결제 상태가 바뀌는 시점에서 경합이 발생하여 멱등키가 유효하지 않을… #6
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: CI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set Java 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: make properties directory | |
run: mkdir -p ./app/src/main/resources/ | |
- name: inject properties yml | |
run: echo "${{ secrets.APP_PROPS }}" >> ./app/src/main/resources/application.yml | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew test --info |