-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: workflow 수정 및 테스트 * fix: workflow 수정 및 테스트 * fix: workflow 수정 및 테스트 * fix: 불필요한 style-test
- Loading branch information
Showing
2 changed files
with
6 additions
and
21 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,20 +4,21 @@ on: | |
branches: | ||
- develop | ||
jobs: | ||
test: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java-version: [ 17 ] | ||
distribution: [ 'temurin' ] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Java | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: ${{ matrix.java-version }} | ||
distribution: 'adopt' | ||
distribution: ${{ matrix.distribution }} | ||
|
||
# test 활용 목적의 container 실행 | ||
- name: Start test docker container | ||
|
@@ -42,19 +43,3 @@ jobs: | |
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required | ||
if: always() # Pick up events even if the job fails or is canceled. | ||
|
||
style-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git Checkout | ||
uses: actions/[email protected] | ||
- name: JDK install | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: zulu | ||
java-version: '17' | ||
cache: 'gradle' | ||
|
||
- name: Checkstyle | ||
run: | | ||
./gradlew spotlessCheck |