Hotfix | #81 | @YongsHub | v1.0.1 출시 위해 Calendar nullable 쿼리 수정 #52
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: Lovebird CI (all branch) | |
on: | |
pull_request: | |
branches: | |
- develop | |
- master | |
push: | |
branches: | |
- develop | |
- master | |
# paths: | |
# - lovebird-api/** | |
# - lovebird-client/** | |
# - lovebird-external/** | |
# - lovebird-domain/** | |
# - lovebird-common/** | |
permissions: write-all | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
environment: Development-CI | |
steps: | |
- name: Get Current Time | |
uses: 1466587594/get-current-time@v2 | |
id: current-time | |
with: | |
format: YYYY-MM-DDTHH:mm:ss | |
timezone: 'Asia/Seoul' | |
- name: Print Current Time | |
run: echo "Current Time=${{steps.current-time.outputs.formattedTime}}" | |
shell: bash | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 19 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '19' | |
distribution: 'zulu' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew clean build | |
- name: Gradle Caching | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: publish unit test results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
files: ./lovebird-api/build/test-results/**/*.xml | |
- name: Upload test coverage | |
id: jacoco | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./codecov.yml | |
directory: ./lovebird-api/build/reports/jacoco/test | |
fail_ci_if_error: true | |
continue-on-error: true |