🚀 메이트 참여자 신청 수락 API 구현 #231
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: Java CI with Gradle | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
build: | |
environment: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: 체크 아웃 | |
uses: actions/checkout@v4 | |
- name: AWS credentials 설정 | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: ap-northeast-2 | |
- name: Redis 실행 | |
uses: supercharge/[email protected] | |
with: | |
redis-version: 7.2.4-alpine | |
redis-port: 6379 | |
- name: JDK 17 설치 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
- name: Gradle 권한 부여 | |
run: chmod +x gradlew | |
- name: 프로젝트 빌드 | |
run: ./gradlew clean build | |
- name: Jacoco 테스트 결과 출력 | |
id: jacoco | |
uses: madrapps/[email protected] | |
with: | |
title: 📑 Jacoco 테스트 결과 | |
paths: ${{ github.workspace }}/**/build/reports/jacoco/test/jacocoTestReport.xml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
min-coverage-overall: 50 | |
min-coverage-changed-files: 50 | |
update-comment: true |