fix: Add missing import for MoshiConverterFactory (#431)
Add run CI on the PR not the base.
This commit is contained in:
parent
a3d45ca9ec
commit
9b0f1118f9
|
@ -1,13 +1,10 @@
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
# Run on pull_request_target to access secrets.GRADLE_ENCRYPTION_KEY,
|
|
||||||
# and ensure permissions are marked read-only
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
pull_request_target:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
|
|
|
@ -26,6 +26,7 @@ import dagger.hilt.components.SingletonComponent
|
||||||
import javax.inject.Singleton
|
import javax.inject.Singleton
|
||||||
import okhttp3.OkHttpClient
|
import okhttp3.OkHttpClient
|
||||||
import retrofit2.Retrofit
|
import retrofit2.Retrofit
|
||||||
|
import retrofit2.converter.moshi.MoshiConverterFactory
|
||||||
import retrofit2.create
|
import retrofit2.create
|
||||||
|
|
||||||
@InstallIn(SingletonComponent::class)
|
@InstallIn(SingletonComponent::class)
|
||||||
|
|
Loading…
Reference in New Issue