Cleanup
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index 22a31ae..bf8ee9a 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -10,13 +10,13 @@
gradle-wrapper:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v2
with:
@@ -38,7 +38,7 @@
runs-on: ubuntu-latest
steps:
- name: Checkout the code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v2
with:
@@ -60,7 +60,7 @@
runs-on: ubuntu-latest
steps:
- name: Checkout the code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Setup env
shell: bash
run: |
@@ -100,7 +100,7 @@
needs: [lint, unit-test, gradle-wrapper, snapshot-tests]
steps:
- name: Checkout the code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v2
with:
diff --git a/.gitignore b/.gitignore
index 4b54189..dd0dd43 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@
# From https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
# User-specific stuff
+.idea/kotlinc.xml
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
diff --git a/snapshot-tests/build.gradle b/snapshot-tests/build.gradle
index c8f538f..d3beaef 100644
--- a/snapshot-tests/build.gradle
+++ b/snapshot-tests/build.gradle
@@ -19,10 +19,10 @@
buildTypes {
debug {
- buildConfigField("String", "S3AccessKey", "\"" + "" + "\"")
- buildConfigField("String", "S3SecretKey", "\"" + "" + "\"")
- buildConfigField("String", "HappoApiKey", "\"" + "" + "\"")
- buildConfigField("String", "HappoSecretKey", "\"" + "" + "\"")
+ buildConfigField("String", "S3AccessKey", "\"" + System.getenv("LOTTIE_S3_API_KEY") + "\"")
+ buildConfigField("String", "S3SecretKey", "\"" + System.getenv("LOTTIE_S3_SECRET_KEY") + "\"")
+ buildConfigField("String", "HappoApiKey", "\"" + System.getenv("LOTTIE_HAPPO_API_KEY") + "\"")
+ buildConfigField("String", "HappoSecretKey", "\"" + System.getenv("LOTTIE_HAPPO_SECRET_KEY") + "\"")
}
release {
minifyEnabled false
diff --git a/snapshot-tests/src/androidTest/java/com/airbnb/lottie/snapshots/LottieSnapshotTest.kt b/snapshot-tests/src/androidTest/java/com/airbnb/lottie/snapshots/LottieSnapshotTest.kt
index 5429afb..3bd4449 100644
--- a/snapshot-tests/src/androidTest/java/com/airbnb/lottie/snapshots/LottieSnapshotTest.kt
+++ b/snapshot-tests/src/androidTest/java/com/airbnb/lottie/snapshots/LottieSnapshotTest.kt
@@ -4,7 +4,6 @@
import android.content.ComponentCallbacks2
import android.content.Context
import android.content.res.Configuration
-import android.os.Debug
import android.util.Log
import android.widget.FrameLayout
import androidx.test.core.app.ApplicationProvider
@@ -95,7 +94,6 @@
val json = JSONObject(response.body?.string() ?: "{}")
s3AccessKey = json.getString("LOTTIE_S3_API_KEY")
s3SecretKey = json.getString("LOTTIE_S3_SECRET_KEY")
- Log.d("Gabe", "Downloaded keys: ${s3AccessKey.subSequence(0, 3)} ${s3SecretKey.subSequence(0, 3)}")
happoApiKey = json.getString("LOTTIE_HAPPO_API_KEY")
happoSecretKey = json.getString("LOTTIE_HAPPO_SECRET_KEY")
}