Skip to content

Commit 98b2fa2

Browse files
authored
Merge pull request #157 from mash-up-kr/develop
[0.0.1 versioning]
2 parents f8078e1 + 29b9e42 commit 98b2fa2

File tree

773 files changed

+24796
-314
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

773 files changed

+24796
-314
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*.{kt,kts}]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 4
7+
insert_final_newline = true
8+
max_line_length = 120
9+
end_of_line = lf
10+
trim_trailing_whitespace = true
11+
12+
# Ktlint rules
13+
ktlint_disabled_rules=filename
14+
ij_kotlin_allow_trailing_comma_on_call_site = true
15+
ij_kotlin_allow_trailing_comma = true
16+
17+
[*.{yml,yaml}]
18+
indent_size = 2

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @JaesungLeee @014967 @SEO-J17 @boris-xyz

.github/auto_assign.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Set to true to add reviewers to pull requests
2+
addReviewers: true
3+
4+
# Set to true to add assignees to pull requests
5+
addAssignees: author
6+
7+
# A list of reviewers to be added to pull requests (GitHub user name)
8+
reviewers:
9+
- JaesungLeee
10+
- 014967
11+
- SEO-J17
12+
- boris-xyz
13+
14+
# A number of reviewers added to the pull request
15+
# Set 0 to add all the reviewers (default: 0)
16+
numberOfReviewers: 0
17+
18+
# A number of assignees to add to the pull request
19+
# Set to 0 to add all of the assignees.
20+
# Uses numberOfReviewers if unset.
21+
numberOfAssignees: 1
22+
23+
# A list of keywords to be skipped the process that add reviewers if pull requests include it
24+
skipKeywords:
25+
- wip
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Common Workflow Setup
2+
3+
# 다른 workflow에서 실행 가능
4+
on:
5+
workflow_call:
6+
secrets:
7+
KEY_ALIAS:
8+
required: true
9+
KEY_PASSWORD:
10+
required: true
11+
STORE_PASSWORD:
12+
required: true
13+
DEV_JKS_BASE64:
14+
required: true
15+
QA_JKS_BASE64:
16+
required: true
17+
PROD_JKS_BASE64:
18+
required: true
19+
20+
jobs:
21+
config-keystore:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: checkout source
25+
uses: actions/checkout@v4
26+
27+
- name: restore jks and keystore properties
28+
run: |
29+
mkdir -p ./keystore
30+
31+
echo "${{ secrets.DEV_JKS_BASE64 }}" | base64 -d > ./keystore/dev.jks
32+
echo "${{ secrets.QA_JKS_BASE64 }}" | base64 -d > ./keystore/qa.jks
33+
echo "${{ secrets.PROD_JKS_BASE64 }}" | base64 -d > ./keystore/prod.jks
34+
35+
echo "storeFileDev=./keystore/dev.jks" > keystore.properties
36+
echo "storeFileQa=./keystore/qa.jks" >> keystore.properties
37+
echo "storeFileProd=./keystore/prod.jks" >> keystore.properties
38+
echo "storePassword=${{ secrets.STORE_PASSWORD }}" >> keystore.properties
39+
echo "keyAlias=${{ secrets.KEY_ALIAS }}" >> keystore.properties
40+
echo "keyPassword=${{ secrets.KEY_PASSWORD }}" >> keystore.properties
41+
42+
- name: upload signing artifacts
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: common signing artifacts
46+
path: |
47+
./keystore.properties
48+
./keystore/dev.jks
49+
./keystore/qa.jks
50+
./keystore/prod.jks
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: NoWeekend Compose Lint Check
2+
on:
3+
pull_request:
4+
# feature/foo, feature/foo/bar/* 까지 대응
5+
branches: [ "feature/**", "hotfix/**", "release/**", "develop", "main" ]
6+
7+
jobs:
8+
# common-workflow-setup:
9+
# name: common workflow setup
10+
# uses: ./.github/workflows/common-setup.yaml
11+
# secrets: inherit
12+
13+
compose-lint-check:
14+
name: Run Compose Lint
15+
# needs: common-workflow-setup
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: checkout source
20+
uses: actions/checkout@v4
21+
22+
- name: cache gradle
23+
uses: actions/cache@v3
24+
with:
25+
path: |
26+
~/.gradle/caches
27+
~/.gradle/wrapper
28+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
29+
restore-keys: |
30+
${{ runner.os }}-gradle-
31+
32+
- name: jdk 17 setup
33+
uses: actions/setup-java@v3
34+
with:
35+
java-version: '17'
36+
distribution: 'temurin'
37+
cache: 'gradle'
38+
39+
- name: grant execute permission for gradlew
40+
run: chmod +x ./gradlew
41+
42+
- name: restore jks and keystore properties
43+
run: |
44+
mkdir -p ./keystore
45+
46+
echo "${{ secrets.DEV_JKS_BASE64 }}" | base64 -d > ./keystore/dev.jks
47+
echo "${{ secrets.QA_JKS_BASE64 }}" | base64 -d > ./keystore/qa.jks
48+
echo "${{ secrets.PROD_JKS_BASE64 }}" | base64 -d > ./keystore/prod.jks
49+
50+
echo "storeFileDev=./keystore/dev.jks" > keystore.properties
51+
echo "storeFileQa=./keystore/qa.jks" >> keystore.properties
52+
echo "storeFileProd=./keystore/prod.jks" >> keystore.properties
53+
echo "storePassword=${{ secrets.STORE_PASSWORD }}" >> keystore.properties
54+
echo "keyAlias=${{ secrets.KEY_ALIAS }}" >> keystore.properties
55+
echo "keyPassword=${{ secrets.KEY_PASSWORD }}" >> keystore.properties
56+
57+
# ci 빌드를 위한 secrets 세팅
58+
- name: Access github actions secrets
59+
env:
60+
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
61+
run: |
62+
echo google_client_id="$GOOGLE_CLIENT_ID" > ./local.properties
63+
64+
- name: run compose lint check
65+
run: ./gradlew lintDevDebug

.github/workflows/dn-labeler.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Dn 라벨 업데이트 workflow
2+
on:
3+
schedule:
4+
- cron: '0 15 * * *' # 매일 밤 12시에 실행 (KST 기준)
5+
jobs:
6+
d-day-labeler:
7+
runs-on: [ ubuntu-latest ]
8+
steps:
9+
- name: Dn 라벨을 업데이트 한다
10+
uses: naver/d-day-labeler@latest
11+
with:
12+
token: ${{ secrets.NOWEEKEND_WORKFLOW_TOKEN }}

.github/workflows/ktlint.yaml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: NoWeekend Kotlin Lint Check
2+
on:
3+
pull_request:
4+
# feature/foo, feature/foo/bar/* 까지 대응
5+
branches: [ "feature/**", "hotfix/**", "release/**", "develop", "main" ]
6+
7+
jobs:
8+
# common-workflow-setup:
9+
# name: common workflow setup
10+
# uses: ./.github/workflows/common-setup.yaml
11+
# secrets: inherit
12+
13+
lint-check:
14+
name: Run Kotlin Lint
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: checkout source
19+
uses: actions/checkout@v4
20+
21+
# - name: download signing artifacts
22+
# uses: actions/download-artifact@v4
23+
# with:
24+
# name: common signing artifacts
25+
# path: |
26+
# ./keystore.properties
27+
# ./keystore/dev.jks
28+
# ./keystore/qa.jks
29+
# ./keystore/prod.jks
30+
31+
- name: cache gradle
32+
uses: actions/cache@v3
33+
with:
34+
path: |
35+
~/.gradle/caches
36+
~/.gradle/wrapper
37+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
38+
restore-keys: |
39+
${{ runner.os }}-gradle-
40+
41+
- name: jdk 17 setup
42+
uses: actions/setup-java@v3
43+
with:
44+
java-version: '17'
45+
distribution: 'temurin'
46+
cache: 'gradle'
47+
48+
- name: grant execute permission for gradlew
49+
run: chmod +x ./gradlew
50+
51+
- name: restore jks and keystore properties
52+
run: |
53+
mkdir -p ./keystore
54+
55+
echo "${{ secrets.DEV_JKS_BASE64 }}" | base64 -d > ./keystore/dev.jks
56+
echo "${{ secrets.QA_JKS_BASE64 }}" | base64 -d > ./keystore/qa.jks
57+
echo "${{ secrets.PROD_JKS_BASE64 }}" | base64 -d > ./keystore/prod.jks
58+
59+
echo "storeFileDev=./keystore/dev.jks" > keystore.properties
60+
echo "storeFileQa=./keystore/qa.jks" >> keystore.properties
61+
echo "storeFileProd=./keystore/prod.jks" >> keystore.properties
62+
echo "storePassword=${{ secrets.STORE_PASSWORD }}" >> keystore.properties
63+
echo "keyAlias=${{ secrets.KEY_ALIAS }}" >> keystore.properties
64+
echo "keyPassword=${{ secrets.KEY_PASSWORD }}" >> keystore.properties
65+
66+
# ci 빌드를 위한 secrets 세팅
67+
- name: Access github actions secrets
68+
env:
69+
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
70+
run: |
71+
echo google_client_id="$GOOGLE_CLIENT_ID" > ./local.properties
72+
73+
- name: run ktlint check
74+
run: ./gradlew ktlintCheck
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
name: NoWeekend CI
2+
3+
on:
4+
# Github Action에서 해당 workflow 수동 트리거 가능 옵션
5+
workflow_dispatch:
6+
pull_request:
7+
# feature/foo, feature/foo/bar/* 까지 대응
8+
branches: [ "feature/**", "hotfix/**", "release/**", "develop", "main" ]
9+
10+
jobs:
11+
# common-workflow-setup:
12+
# name: common workflow setup
13+
# uses: ./.github/workflows/common-setup.yaml
14+
# secrets: inherit
15+
16+
build:
17+
name: Gradle Build
18+
# needs: common-workflow-setup
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout source
22+
uses: actions/checkout@v4
23+
24+
- name: Cache Gradle
25+
uses: actions/cache@v3
26+
with:
27+
path: |
28+
~/.gradle/caches
29+
~/.gradle/wrapper
30+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
31+
restore-keys: |
32+
${{ runner.os }}-gradle-
33+
34+
- name: jdk 17 setup
35+
uses: actions/setup-java@v3
36+
with:
37+
java-version: '17'
38+
distribution: 'temurin'
39+
cache: 'gradle'
40+
41+
- name: Grant execute permission for gradlew
42+
run: chmod +x ./gradlew
43+
44+
- name: restore jks and keystore properties
45+
run: |
46+
mkdir -p ./keystore
47+
48+
echo "${{ secrets.DEV_JKS_BASE64 }}" | base64 -d > ./keystore/dev.jks
49+
echo "${{ secrets.QA_JKS_BASE64 }}" | base64 -d > ./keystore/qa.jks
50+
echo "${{ secrets.PROD_JKS_BASE64 }}" | base64 -d > ./keystore/prod.jks
51+
52+
echo "storeFileDev=./keystore/dev.jks" > keystore.properties
53+
echo "storeFileQa=./keystore/qa.jks" >> keystore.properties
54+
echo "storeFileProd=./keystore/prod.jks" >> keystore.properties
55+
echo "storePassword=${{ secrets.STORE_PASSWORD }}" >> keystore.properties
56+
echo "keyAlias=${{ secrets.KEY_ALIAS }}" >> keystore.properties
57+
echo "keyPassword=${{ secrets.KEY_PASSWORD }}" >> keystore.properties
58+
59+
# ci 빌드를 위한 secrets 세팅
60+
- name: Access github actions secrets
61+
env:
62+
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
63+
run: |
64+
echo google_client_id="$GOOGLE_CLIENT_ID" > ./local.properties
65+
66+
- name: Build with Gradle
67+
run: ./gradlew assembleDevDebug
68+
69+
70+
# ktlint:
71+
# name: Run Ktlint
72+
# runs-on: ubuntu-latest
73+
#
74+
# steps:
75+
# - name: Checkout code
76+
# uses: actions/checkout@v4
77+
#
78+
# - name: Set up JDK
79+
# uses: actions/setup-java@v4
80+
# with:
81+
# distribution: 'temurin'
82+
# java-version: '17'
83+
#
84+
# - name: Cache Gradle
85+
# uses: actions/cache@v3
86+
# with:
87+
# path: |
88+
# ~/.gradle/caches
89+
# ~/.gradle/wrapper
90+
# key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
91+
# restore-keys: gradle-${{ runner.os }}
92+
#
93+
# - name: Grant execute permission for gradlew
94+
# run: chmod +x ./gradlew
95+
#
96+
# - name: Run ktlint check
97+
# run: ./gradlew ktlintCheck

0 commit comments

Comments
 (0)