-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from depromeet/init-ci-setting
init : CI, Git Setting
- Loading branch information
Showing
12 changed files
with
112 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
--- | ||
name: Team6 Issue Template | ||
about: Describe this issue template's purpose here. | ||
about: "디프만 16기 6팀 안드로이드 이슈 템플릿 \U0001F680" | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## What is this issue? 🛠 | ||
|
||
## Progress 🏃♀️ | ||
- [ ] |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Related issue 🛠 | ||
- closed #이슈넘버 | ||
|
||
## Work Description ✏️ | ||
- 작업 내용 | ||
|
||
## Screenshot 📸 | ||
<img src="" width="360"/> | ||
|
||
## Uncompleted Tasks 😅 | ||
- [ ] Task1 | ||
|
||
## To Reviewers 📢 |
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 |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: Team6 CI | ||
on: | ||
pull_request: | ||
branches: [ develop, main ] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: . | ||
|
||
jobs: | ||
build: | ||
name: CI | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Gradle cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
||
- name: Change gradlew permissions | ||
run: chmod +x ./gradlew | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Touch local properties | ||
run: touch local.properties | ||
|
||
- name: Decode google-services.json | ||
env: | ||
FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }} | ||
run: echo $FIREBASE_SECRET > app/google-services.json | ||
|
||
- name: Access local properties | ||
env: | ||
HFM_BASE_URL: ${{ secrets.BASE_URL }} | ||
run: | | ||
echo "dev.base.url=\"$BASE_URL\"" >> local.properties | ||
- name: Lint Check | ||
run: ./gradlew ktlintCheck -PcompileSdkVersion=34 | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build -PcompileSdkVersion=34 | ||
|
||
- name: Slack Notify - Success | ||
if: ${{ success() }} | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_COLOR: '#B7FF1D' | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
SLACK_TITLE: '✅ PR Success ✅' | ||
SLACK_USERNAME: DEPORMEET-TEAM6 🍗 | ||
SLACK_MESSAGE: 'PR이 완료되었습니다! 😆' | ||
|
||
- name: Slack Notify - Failure | ||
if: ${{ failure() }} | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_COLOR: '#FF9254' | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
SLACK_TITLE: '❌ PR Failed ❌' | ||
SLACK_USERNAME: DEPORMEET-TEAM6 🍗 | ||
SLACK_MESSAGE: '에러를 확인해 주세요 🫨' |
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
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
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 |
---|---|---|
|
@@ -31,4 +31,4 @@ val Typography = Typography( | |
letterSpacing = 0.5.sp | ||
) | ||
*/ | ||
) | ||
) |
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
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