fix: DB url 수정 #1
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: CI With Pull Request | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
build: | |
name: Build and analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.SUBMODULE_TOKEN }} | |
submodules: true | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
cache: 'gradle' | |
- name: Grant execute permission for gradlew | |
run: chmod +x ./gradlew | |
- name: Build JAR | |
run: ./gradlew bootJar -Dspring.profiles.active=dev | |
- name: Generate JUnit test results as a comment | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: ${{ always() }} | |
with: | |
files: '**/build/test-results/**/*.xml' | |
- name: Registered comments on the failed code line when a test fails. | |
uses: mikepenz/action-junit-report@v3 | |
if: always() | |
with: | |
report_paths: '**/build/test-results/test/TEST-*.xml' |