Skip to content

chore: update security submodule #136

chore: update security submodule

chore: update security submodule #136

Workflow file for this run

name: 'Checkit Backend CI'
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
env:
DOCKER_ID: ${{ secrets.DOCKER_ID }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_IMAGE_NAME: ${{ secrets.DOCKER_IMAGE_NAME }}
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: private 레포지토리 가져오기
uses: actions/checkout@v3
with:
token: ${{ secrets.SUBMODULE_TOKEN }}
submodules: recursive
- name: JDK 11을 설치
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Gradle 명령 실행을 위한 권한을 부여
run: chmod +x gradlew
- name: Gradle build 수행
run: ./gradlew build -x test -P DOCKER_ID=${{ secrets.DOCKER_ID }} -P DOCKER_PASSWORD=${{ secrets.DOCKER_PASSWORD }} -P DOCKER_IMAGE_NAME=${{ secrets.DOCKER_IMAGE_NAME }}
# - name: 테스트 결과
# uses: EnricoMi/publish-unit-test-result-action@v1
# if: always()
# with:
# files: '**/build/test-results/test/TEST-*.xml'
# - name: JaCoCo Coverage 결과
# id: jacoco
# uses: madrapps/[email protected]
# with:
# title: 📝 테스트 커버리지 리포트입니다
# paths: ${{ github.workspace }}/build/jacoco/index.xml
# token: ${{ secrets.GITHUB_TOKEN }}
# min-coverage-overall: 80
# min-coverage-changed-files: 70