-
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.
feat: app - Calendar feat: app - Login/Logout feat: app - Online/Offline Sync Memo feat: app - crash monitor feat: app - perf monitor feat: server - Login/Logout feat: server - Upsert/Fetch Memo feat: server - Migrate Memo
- Loading branch information
0 parents
commit 2821a8b
Showing
618 changed files
with
25,237 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
root = true | ||
|
||
[{*.kt,*.kts}] | ||
max_line_length = 300 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
ij_kotlin_imports_layout = unset | ||
ij_kotlin_allow_trailing_comma = true | ||
ij_kotlin_allow_trailing_comma_on_call_site = true | ||
|
||
ktlint_experimental = disabled | ||
ktlint_standard_function-signature = disabled |
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,10 @@ | ||
name: CI setup | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup Java 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' |
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,89 @@ | ||
name: Build | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
Linux-Build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
command: [ | ||
'./gradlew :app:platform:jvm:assemble', | ||
'./gradlew :app:platform:wasm:assemble', | ||
'./gradlew :app:platform:android:assembleRealRelease', | ||
] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: CI setup | ||
uses: './.github/actions/ci-setup' | ||
|
||
- name: Set local.properties | ||
run: | | ||
echo diary.dev.api.base.url=${{ secrets.DIARY_DEV_API_BASE_URL }} >> local.properties | ||
echo diary.real.api.base.url=${{ secrets.DIARY_REAL_API_BASE_URL }} >> local.properties | ||
echo holiday.dev.api.url=${{ secrets.HOLIDAY_DEV_API_URL }} >> local.properties | ||
echo holiday.dev.api.key=${{ secrets.HOLIDAY_DEV_API_KEY }} >> local.properties | ||
echo holiday.real.api.url=${{ secrets.HOLIDAY_REAL_API_URL }} >> local.properties | ||
echo holiday.real.api.key=${{ secrets.HOLIDAY_REAL_API_KEY }} >> local.properties | ||
echo android.dev.store.password=${{ secrets.ANDROID_DEV_STORE_PASSWORD }} >> local.properties | ||
echo android.dev.key.alias=${{ secrets.ANDROID_DEV_KEY_ALIAS }} >> local.properties | ||
echo android.dev.key.password=${{ secrets.ANDROID_DEV_KEY_PASSWORD }} >> local.properties | ||
echo android.real.store.password=${{ secrets.ANDROID_REAL_STORE_PASSWORD }} >> local.properties | ||
echo android.real.key.alias=${{ secrets.ANDROID_REAL_KEY_ALIAS }} >> local.properties | ||
echo android.real.key.password=${{ secrets.ANDROID_REAL_KEY_PASSWORD }} >> local.properties | ||
- name: Set Android google-services.json | ||
run: | | ||
echo '${{ secrets.ANDROID_DEV_GOOGLE_SERVICES_JSON }}' > app/platform/android/dev/google.services.json | ||
echo '${{ secrets.ANDROID_REAL_GOOGLE_SERVICES_JSON }}' > app/platform/android/real/google.services.json | ||
- name: Set Apple GoogleService-Info.plist | ||
run: | | ||
echo '${{ secrets.APPLE_DEV_DEBUG_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/DevDebug/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_DEV_RELEASE_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/DevRelease/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_REAL_DEBUG_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/RealDebug/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_REAL_RELEASE_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/RealRelease/GoogleService-Info.plist | ||
- name: Build ${{ matrix.command }} | ||
run: ${{ matrix.command }} | ||
|
||
Mac-Build: | ||
runs-on: macos-15 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: CI setup | ||
uses: './.github/actions/ci-setup' | ||
|
||
- name: Set local.properties | ||
run: | | ||
echo diary.dev.api.base.url=${{ secrets.DIARY_DEV_API_BASE_URL }} >> local.properties | ||
echo diary.real.api.base.url=${{ secrets.DIARY_REAL_API_BASE_URL }} >> local.properties | ||
echo holiday.dev.api.url=${{ secrets.HOLIDAY_DEV_API_URL }} >> local.properties | ||
echo holiday.dev.api.key=${{ secrets.HOLIDAY_DEV_API_KEY }} >> local.properties | ||
echo holiday.real.api.url=${{ secrets.HOLIDAY_REAL_API_URL }} >> local.properties | ||
echo holiday.real.api.key=${{ secrets.HOLIDAY_REAL_API_KEY }} >> local.properties | ||
echo android.dev.store.password=${{ secrets.ANDROID_DEV_STORE_PASSWORD }} >> local.properties | ||
echo android.dev.key.alias=${{ secrets.ANDROID_DEV_KEY_ALIAS }} >> local.properties | ||
echo android.dev.key.password=${{ secrets.ANDROID_DEV_KEY_PASSWORD }} >> local.properties | ||
echo android.real.store.password=${{ secrets.ANDROID_REAL_STORE_PASSWORD }} >> local.properties | ||
echo android.real.key.alias=${{ secrets.ANDROID_REAL_KEY_ALIAS }} >> local.properties | ||
echo android.real.key.password=${{ secrets.ANDROID_REAL_KEY_PASSWORD }} >> local.properties | ||
- name: Set Android google-services.json | ||
run: | | ||
echo '${{ secrets.ANDROID_DEV_GOOGLE_SERVICES_JSON }}' > app/platform/android/dev/google-services.json | ||
echo '${{ secrets.ANDROID_REAL_GOOGLE_SERVICES_JSON }}' > app/platform/android/real/google-services.json | ||
- name: Set Apple GoogleService-Info.plist | ||
run: | | ||
echo '${{ secrets.APPLE_DEV_DEBUG_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/DevDebug/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_DEV_RELEASE_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/DevRelease/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_REAL_DEBUG_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/RealDebug/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_REAL_RELEASE_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/RealRelease/GoogleService-Info.plist | ||
- name: Build iOS | ||
run: xcodebuild -project Diary/Diary.xcodeproj -scheme CI -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.0' |
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,42 @@ | ||
name: Check Code Style | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
Spotless: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: CI setup | ||
uses: './.github/actions/ci-setup' | ||
|
||
- name: Set local.properties | ||
run: | | ||
echo diary.dev.api.base.url=${{ secrets.DIARY_DEV_API_BASE_URL }} >> local.properties | ||
echo diary.real.api.base.url=${{ secrets.DIARY_REAL_API_BASE_URL }} >> local.properties | ||
echo holiday.dev.api.url=${{ secrets.HOLIDAY_DEV_API_URL }} >> local.properties | ||
echo holiday.dev.api.key=${{ secrets.HOLIDAY_DEV_API_KEY }} >> local.properties | ||
echo holiday.real.api.url=${{ secrets.HOLIDAY_REAL_API_URL }} >> local.properties | ||
echo holiday.real.api.key=${{ secrets.HOLIDAY_REAL_API_KEY }} >> local.properties | ||
echo android.dev.store.password=${{ secrets.ANDROID_DEV_STORE_PASSWORD }} >> local.properties | ||
echo android.dev.key.alias=${{ secrets.ANDROID_DEV_KEY_ALIAS }} >> local.properties | ||
echo android.dev.key.password=${{ secrets.ANDROID_DEV_KEY_PASSWORD }} >> local.properties | ||
echo android.real.store.password=${{ secrets.ANDROID_REAL_STORE_PASSWORD }} >> local.properties | ||
echo android.real.key.alias=${{ secrets.ANDROID_REAL_KEY_ALIAS }} >> local.properties | ||
echo android.real.key.password=${{ secrets.ANDROID_REAL_KEY_PASSWORD }} >> local.properties | ||
- name: Set Android google-services.json | ||
run: | | ||
echo '${{ secrets.ANDROID_DEV_GOOGLE_SERVICES_JSON }}' > app/platform/android/dev/google-services.json | ||
echo '${{ secrets.ANDROID_REAL_GOOGLE_SERVICES_JSON }}' > app/platform/android/real/google-services.json | ||
- name: Set Apple GoogleService-Info.plist | ||
run: | | ||
echo '${{ secrets.APPLE_DEV_DEBUG_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/DevDebug/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_DEV_RELEASE_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/DevRelease/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_REAL_DEBUG_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/RealDebug/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_REAL_RELEASE_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/RealRelease/GoogleService-Info.plist | ||
- run: ./gradlew :spotlessCheck |
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,49 @@ | ||
name: Dependency Guard | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
Dependency-Guard: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
command: [ | ||
'./gradlew :app:platform:android:dependencyGuard', | ||
'./gradlew :server:app:dependencyGuard' | ||
] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: CI setup | ||
uses: './.github/actions/ci-setup' | ||
|
||
- name: Set local.properties | ||
run: | | ||
echo diary.dev.api.base.url=${{ secrets.DIARY_DEV_API_BASE_URL }} >> local.properties | ||
echo diary.real.api.base.url=${{ secrets.DIARY_REAL_API_BASE_URL }} >> local.properties | ||
echo holiday.dev.api.url=${{ secrets.HOLIDAY_DEV_API_URL }} >> local.properties | ||
echo holiday.dev.api.key=${{ secrets.HOLIDAY_DEV_API_KEY }} >> local.properties | ||
echo holiday.real.api.url=${{ secrets.HOLIDAY_REAL_API_URL }} >> local.properties | ||
echo holiday.real.api.key=${{ secrets.HOLIDAY_REAL_API_KEY }} >> local.properties | ||
echo android.dev.store.password=${{ secrets.ANDROID_DEV_STORE_PASSWORD }} >> local.properties | ||
echo android.dev.key.alias=${{ secrets.ANDROID_DEV_KEY_ALIAS }} >> local.properties | ||
echo android.dev.key.password=${{ secrets.ANDROID_DEV_KEY_PASSWORD }} >> local.properties | ||
echo android.real.store.password=${{ secrets.ANDROID_REAL_STORE_PASSWORD }} >> local.properties | ||
echo android.real.key.alias=${{ secrets.ANDROID_REAL_KEY_ALIAS }} >> local.properties | ||
echo android.real.key.password=${{ secrets.ANDROID_REAL_KEY_PASSWORD }} >> local.properties | ||
- name: Set Android google-services.json | ||
run: | | ||
echo '${{ secrets.ANDROID_DEV_GOOGLE_SERVICES_JSON }}' > app/platform/android/dev/google-services.json | ||
echo '${{ secrets.ANDROID_REAL_GOOGLE_SERVICES_JSON }}' > app/platform/android/real/google-services.json | ||
- name: Set Apple GoogleService-Info.plist | ||
run: | | ||
echo '${{ secrets.APPLE_DEV_DEBUG_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/DevDebug/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_DEV_RELEASE_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/DevRelease/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_REAL_DEBUG_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/RealDebug/GoogleService-Info.plist | ||
echo '${{ secrets.APPLE_REAL_RELEASE_GOOGLE_SERVICE_INFO_PLIST }}' > Diary/secret/RealRelease/GoogleService-Info.plist | ||
- name: Build ${{ matrix.command }} | ||
run: ${{ matrix.command }} |
Oops, something went wrong.