refactor: 멤버의 로그아웃 로직 리팩토링 #116
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: dev CI test | |
on: | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
build: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
# (0) 시간 출력 | |
- name: Get Current Time | |
uses: 1466587594/get-current-time@v2 | |
id: current-time | |
with: | |
format: YYYY-MM-DDTHH:mm:ss | |
timezone: 'Asia/Seoul' | |
- name: Print Current Time | |
run: echo "Current Time=${{steps.current-time.outputs.formattedTime}}" | |
shell: bash | |
# (1) 기본 체크아웃 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# (2) JDK 11 세팅 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
# (3) gradlew 권한 설정 | |
- name: Grant Execute Permission for Gradlew | |
run: chmod +x gradlew | |
# (4) Gradle build (Test 포함) | |
- name: Test with Gradle | |
run: ./gradlew test | |
# (5) Test Result Logging | |
- name: Publish Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() # 테스트가 실패하여도 Report를 보기 위해 `always`로 설정 | |
with: | |
files: build/test-results/**/*.xml |