[BE] 피드 컬렌션 상세 조회에 팔로우 정보 추가 구현 #241
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: be-ci | |
on: | |
pull_request: | |
branches: | |
- dev-be | |
env: | |
ROOT_PATH: ${{ github.workspace }}/be | |
MAIN_RESOURCE_PATH: ${{ github.workspace }}/be/src/main/resources | |
TEST_RESOURCE_PATH: ${{ github.workspace }}/be/src/test/resources | |
COVERALLS_PATH: ${{ github.workspace }}/be/build/reports/jacoco/test/jacocoTestReport.xml | |
jobs: | |
be-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 레포지토리를 체크아웃한다 | |
uses: actions/checkout@v4 | |
- name: 자바를 설치한다 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '11' | |
- name: 설정파일을 추가한다 | |
run: | | |
cd ${{ env.MAIN_RESOURCE_PATH }} | |
echo "${{ secrets.APPLICATION_AWS_YML }}" > application-aws.yml | |
echo "${{ secrets.APPLICATION_JWT_YML }}" > application-jwt.yml | |
echo "${{ secrets.APPLICATION_OAUTH_YML }}" > application-oauth.yml | |
- name: 어플리케이션을 빌드한다 | |
run: | | |
chmod +x gradlew | |
./gradlew build | |
working-directory: ${{ env.ROOT_PATH }} | |
- name: CoverAlls를 실행한다 | |
uses: coverallsapp/github-action@v2 | |
with: | |
base-path: COVERALLS_PATH |