Skip to content

fix: 참여한 발표방 조회 시 생성일, 참여일이 나오게 변경 #106

fix: 참여한 발표방 조회 시 생성일, 참여일이 나오게 변경

fix: 참여한 발표방 조회 시 생성일, 참여일이 나오게 변경 #106

Workflow file for this run

name: Pull Request Test Automation
on:
pull_request:
branches:
- dev
jobs:
code-test:
name: 코드 테스트
runs-on: ubuntu-latest
env:
SPRING_PROFILES_ACTIVE: ci
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- name: 브랜치로 체크아웃
uses: actions/checkout@v4
- name: JDK 세팅
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: application-ci.yml 주입
run: |
mkdir -p src/main/resources
echo "${{ secrets.APPLICATION_YML_CI }}" | base64 --decode > src/main/resources/application-ci.yml
- name: 권한 세팅
run: chmod +x ./gradlew
- name: 테스트 수행
run: ./gradlew test --no-daemon
- name: Slack 알림 보내기(테스트 실패 시)
if: failure()
uses: slackapi/[email protected]
with:
payload: |
{
"text": "🔴 *CI 테스트 실패 알림*\n리포지토리: `${{ github.repository }}`\n브랜치: `${{ github.ref_name }}`\nPR 번호: `${{ github.event.pull_request.number }}`\nPR 제목: `${{ github.event.pull_request.title }}`\n워크플로우: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }}>\n실패 커밋: `${{ github.event.pull_request.head.sha }}`"
}