Skip to content

Commit

Permalink
[ALL] release: v1.1.1 (#561) (#569)
Browse files Browse the repository at this point in the history
<!--
PR ์ด๋ฆ„ ์ปจ๋ฒค์…˜
[BE] feat: ~~(#issueNum)
[AN/STAFF] feat: ~~(#issueNum)
[AN/USER] fix: ~~(#issueNum)
-->

## ๐Ÿ“Œ ๊ด€๋ จ ์ด์Šˆ

- closed: #561 

## โœจ PR ์„ธ๋ถ€ ๋‚ด์šฉ

<!-- ์ˆ˜์ •/์ถ”๊ฐ€ํ•œ ๋‚ด์šฉ์„ ์ ์–ด์ฃผ์„ธ์š”. -->

๋‘ ๋ฒˆ์งธ ๋ฐฐํฌ
  • Loading branch information
BGuga authored Oct 17, 2023
2 parents 8778ec0 + 586c6e7 commit 31a4abd
Show file tree
Hide file tree
Showing 453 changed files with 11,331 additions and 3,756 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/assign-reviewer.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Assign Reviewer By Label
on:
pull_request:
types: [ opened, edited, labeled, unlabeled ]

types:
- opened
- edited
- labeled
- unlabeled
jobs:
assign-reviewer:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-back.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- dev
- main
paths: 'backend/**'

defaults:
Expand Down
66 changes: 34 additions & 32 deletions .github/workflows/ci-user-aos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on:
push:
branches:
- dev
paths: ['android/festago/**']
- main
paths: [ 'android/festago/**' ]
pull_request:
branches:
- dev
- main
paths: 'android/festago/**'

defaults:
Expand All @@ -20,35 +22,35 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: zulu
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: add google-services.json
run: echo '${{ secrets.ANDROID_USER_GOOGLE_SERVICES_JSON }}' > ./app/google-services.json
- name: add local.properties
run: |
echo kakao_native_app_key=\"${{ secrets.ANDROID_USER_KAKAO_NATIVE_APP_KEY }}\" >> ./local.properties
echo kakao_redirection_scheme=\"${{ secrets.ANDROID_USER_KAKAO_REDIRECTION_SCHEME }}\" >> ./local.properties
echo base_url=\"$${{ secrets.ANDROID_USER_BASE_URL }}\" >> ./local.properties
- name: Build with Gradle
run: ./gradlew build

- name: Run ktlint
run: ./gradlew ktlintCheck

- name: Run unit tests
run: ./gradlew testDebugUnitTest
- name: Build assemble release apk
run: ./gradlew assembleRelease
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: zulu
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: add google-services.json
run: echo '${{ secrets.ANDROID_USER_GOOGLE_SERVICES_JSON }}' > ./app/google-services.json

- name: add local.properties
run: |
echo kakao_native_app_key=\"${{ secrets.ANDROID_USER_KAKAO_NATIVE_APP_KEY }}\" >> ./local.properties
echo kakao_redirection_scheme=\"${{ secrets.ANDROID_USER_KAKAO_REDIRECTION_SCHEME }}\" >> ./local.properties
echo base_url=\"$${{ secrets.ANDROID_USER_BASE_URL }}\" >> ./local.properties
- name: Build with Gradle
run: ./gradlew build

- name: Run ktlint
run: ./gradlew ktlintCheck

- name: Run unit tests
run: ./gradlew testDebugUnitTest

- name: Build assemble release apk
run: ./gradlew assembleRelease

69 changes: 35 additions & 34 deletions .github/workflows/closed-issue-notification.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
name: Closed Issue Notification
on:
issues:
types: [closed]

issues:
types:
- closed

jobs:
create-issue:
create-issue:
name: Send closed issue notification to slack
runs-on: ubuntu-latest
steps:
- name: Send Issue
uses: 8398a7/action-slack@v3
with:
status: custom
custom_payload: |
{
text: "*์ด์Šˆ๊ฐ€ ๋‹ซํ˜”์Šต๋‹ˆ๋‹ค!*",
attachments: [{
fallback: 'fallback',
color: '#7539DE',
title: 'Title',
text: '<${{ github.event.issue.html_url }}|${{ github.event.issue.title }}>',
fields: [{
title: 'Issue number',
value: '#${{ github.event.issue.number }}',
short: true
},
{
title: 'Author',
value: '${{ github.event.issue.user.login }}',
short: true
}],
actions: [{
runs-on: ubuntu-latest
steps:
- name: Send Issue
uses: 8398a7/action-slack@v3
with:
status: custom
custom_payload: |
{
text: "*์ด์Šˆ๊ฐ€ ๋‹ซํ˜”์Šต๋‹ˆ๋‹ค!*",
attachments: [{
fallback: 'fallback',
color: '#7539DE',
title: 'Title',
text: '<${{ github.event.issue.html_url }}|${{ github.event.issue.title }}>',
fields: [{
title: 'Issue number',
value: '#${{ github.event.issue.number }}',
short: true
},
{
title: 'Author',
value: '${{ github.event.issue.user.login }}',
short: true
}],
actions: [{
}]
}]
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ISSUE_WEBHOOK_URL }}
if: always()
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ISSUE_WEBHOOK_URL }}
if: always()
7 changes: 5 additions & 2 deletions .github/workflows/closed-pr-notification.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Closed PR Notification
on:
pull_request:
branches: [ dev ]
types: [ closed ]
branches:
- dev
- main
types:
- closed

jobs:
create-issue:
Expand Down
69 changes: 35 additions & 34 deletions .github/workflows/opend-issue-notification.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
name: Opend Issue Notification
on:
issues:
types: [opened]

issues:
types:
- opened

jobs:
create-issue:
create-issue:
name: Send opend issue notification to slack
runs-on: ubuntu-latest
steps:
- name: Send Issue
uses: 8398a7/action-slack@v3
with:
status: custom
custom_payload: |
{
text: "*์ƒˆ๋กœ์šด ์ด์Šˆ๊ฐ€ ์ƒ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค!*",
attachments: [{
fallback: 'fallback',
color: '#1F7629',
title: 'Title',
text: '<${{ github.event.issue.html_url }}|${{ github.event.issue.title }}>',
fields: [{
title: 'Issue number',
value: '#${{ github.event.issue.number }}',
short: true
},
{
title: 'Author',
value: '${{ github.event.issue.user.login }}',
short: true
}],
actions: [{
runs-on: ubuntu-latest
steps:
- name: Send Issue
uses: 8398a7/action-slack@v3
with:
status: custom
custom_payload: |
{
text: "*์ƒˆ๋กœ์šด ์ด์Šˆ๊ฐ€ ์ƒ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค!*",
attachments: [{
fallback: 'fallback',
color: '#1F7629',
title: 'Title',
text: '<${{ github.event.issue.html_url }}|${{ github.event.issue.title }}>',
fields: [{
title: 'Issue number',
value: '#${{ github.event.issue.number }}',
short: true
},
{
title: 'Author',
value: '${{ github.event.issue.user.login }}',
short: true
}],
actions: [{
}]
}]
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ISSUE_WEBHOOK_URL }}
if: always()
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ISSUE_WEBHOOK_URL }}
if: always()
7 changes: 5 additions & 2 deletions .github/workflows/opened-pr-notification.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Opened PR Notification
on:
pull_request:
branches: [ dev ]
types: [ opened ]
branches:
- dev
- main
types:
- opened

jobs:
create-issue:
Expand Down
27 changes: 23 additions & 4 deletions android/festago/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ plugins {
id("com.google.gms.google-services")
id("com.google.firebase.crashlytics")
id("org.jlleitschuh.gradle.ktlint")
id("com.google.dagger.hilt.android")
}

android {
namespace = "com.festago.festago"
compileSdk = 33
compileSdk = 34

defaultConfig {
applicationId = "com.festago.festago"
minSdk = 28
targetSdk = 33
targetSdk = 34
versionCode = 3
versionName = "1.0.1"

Expand Down Expand Up @@ -63,13 +64,24 @@ kotlin {
jvmToolchain(17)
}

kapt {
correctErrorTypes = true
}

dependencies {
// domain
implementation(project(":domain"))

// android
implementation("androidx.core:core-ktx:1.10.1")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.9.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")

// hilt
implementation("com.google.dagger:hilt-android:2.44")
kapt("com.google.dagger:hilt-android-compiler:2.44")

// recyclerview
implementation("androidx.recyclerview:recyclerview:1.3.1-rc01")

Expand Down Expand Up @@ -127,6 +139,7 @@ dependencies {
implementation(platform("com.google.firebase:firebase-bom:32.2.0"))
implementation("com.google.firebase:firebase-analytics-ktx")
implementation("com.google.firebase:firebase-crashlytics-ktx")
implementation("com.google.firebase:firebase-messaging-ktx:23.2.1")

// swiperefreshlayout
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
Expand All @@ -137,8 +150,14 @@ dependencies {
// Encrypted SharedPreference
implementation("androidx.security:security-crypto-ktx:1.1.0-alpha06")

// domain
implementation(project(":domain"))
// turbine
testImplementation("app.cash.turbine:turbine:1.0.0")

// inApp Update
implementation("com.google.android.play:app-update-ktx:2.1.0")

// splash
implementation("androidx.core:core-splashscreen:1.1.0-alpha02")
}

fun getSecretKey(propertyKey: String): String {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.rules.ActivityScenarioRule
import com.festago.festago.R
import com.festago.festago.presentation.model.ReservedTicketUiModel
import org.junit.Rule
import org.junit.Test
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter

class ReservationCompleteActivityTest {
private val reservationComplete = ReservedTicketUiModel(1L, 123, LocalDateTime.now())
private val reservationComplete = ReservedTicketArg(1L, 123, LocalDateTime.now())

private val intent =
ReservationCompleteActivity.getIntent(
Expand Down
Loading

0 comments on commit 31a4abd

Please sign in to comment.