Skip to content

피드 신고 기능 구현 #405

피드 신고 기능 구현

피드 신고 기능 구현 #405

name: Pull Request on Check
on:
pull_request:
branches:
- develop
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17 ]
distribution: [ 'temurin' ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: ${{ matrix.distribution }}
# test 활용 목적의 container 실행
- name: Start test docker container
run: docker compose -f ./docker-compose-test.yaml up -d
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
arguments: check
cache-read-only: false
## slack 알람
- name: Slack Alarm
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: GitHub-Actions CI/CD
fields: repo,message,commit,author,ref,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
if: always() # Pick up events even if the job fails or is canceled.