diff --git a/.editorconfig b/.editorconfig index d1cdd8573..28bec8d68 100644 --- a/.editorconfig +++ b/.editorconfig @@ -20,3 +20,7 @@ indent_size = 2 [*.json] max_line_length = off indent_size = 2 + +[*.yml] +max_line_length = off +indent_size = 2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3d560fc2..2fdc9f00f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,3 @@ - name: CI on: @@ -23,18 +22,25 @@ jobs: java-version: '17' distribution: 'adopt' + - name: Cache gradle + uses: actions/cache@v4 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + restore-keys: | + gradle-${{ runner.os }}- + - name: Decode google-services.json run: echo "$GOOGLE_SERVICES_JSON_BASE64" | base64 -d > app/google-services.json env: - GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }} + GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }} - name: Make gradlew executable run: chmod +x gradlew - - name: gradle wrapper - run: gradle wrapper - - - name: Build for Debug with Gradle + - name: Build for debug with gradle run: ./gradlew assembleDebug - name: Run tests diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 82cb5335b..e70c1bc71 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -83,7 +83,6 @@ android { buildTypes { debug { signingConfig = signingConfigs.getByName("debug") - // applicationIdSuffix = ".dev" } release { isMinifyEnabled = false