Skip to content

Commit

Permalink
fix: PR 업 워크플로 수정 (#156)
Browse files Browse the repository at this point in the history
* fix: workflow 수정 및 테스트

* fix: workflow 수정 및 테스트

* fix: workflow 수정 및 테스트

* fix: 불필요한 style-test
  • Loading branch information
char-yb authored Aug 19, 2024
1 parent a75cf52 commit b89b4a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
distribution: [ 'temurin' ]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

# JDK를 17 버전으로 세팅
- name: Set up JDK 17
Expand Down
25 changes: 5 additions & 20 deletions .github/workflows/develop-pull-request-on-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit b89b4a5

Please sign in to comment.