Skip to content

Commit

Permalink
Release 2.0.0 (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
costular authored Sep 18, 2023
1 parent 13f6f09 commit 4fb2536
Show file tree
Hide file tree
Showing 410 changed files with 6,136 additions and 4,829 deletions.
26 changes: 0 additions & 26 deletions .editorconfig

This file was deleted.

75 changes: 39 additions & 36 deletions .github/workflows/pull_request_checks.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,22 @@
name: Pull request checks
on:
pull_request:
branches:
- develop
- release/**
- hotfix/**
- main
merge_group:
types: [ checks_requested ]

jobs:
ktlint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Gradle cache
uses: gradle/gradle-build-action@v2

- name: Ktlint 💅
run: ./gradlew ktlintCheck

detekt:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17

- name: Gradle cache
uses: gradle/gradle-build-action@v2
Expand All @@ -36,16 +26,16 @@ jobs:

unit_tests:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Java 11
uses: actions/setup-java@v2
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Gradle cache
uses: gradle/gradle-build-action@v2
Expand All @@ -60,15 +50,19 @@ jobs:

ui_tests:
runs-on: macos-latest
strategy:
matrix:
api-level: [ 26, 30 ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Java 11
uses: actions/setup-java@v2
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Gradle cache
uses: gradle/gradle-build-action@v2
Expand Down Expand Up @@ -102,22 +96,31 @@ jobs:
- name: 🤖 UI tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
api-level: ${{ matrix.api-level }}
arch: x86_64
disable-animations: true
script: ./gradlew app:connectedAndroidTest
disk-size: 6000M
heap-size: 600M
script: ./gradlew connectedDebugAndroidTest --daemon

- name: Upload test reports
if: always()
uses: actions/upload-artifact@v3
with:
name: test-reports-${{ matrix.api-level }}
path: '**/build/reports/androidTests'

screenshot_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Java 11
uses: actions/setup-java@v2
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Decode google-services.json
env:
Expand Down
61 changes: 24 additions & 37 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,12 @@ on:
- '*'

jobs:
ktlint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Gradle cache
uses: gradle/gradle-build-action@v2

- name: Ktlint 💅
run: ./gradlew ktlintCheck

detekt:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Gradle cache
uses: gradle/gradle-build-action@v2
Expand All @@ -37,13 +24,13 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Java 11
uses: actions/setup-java@v2
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Gradle cache
uses: gradle/gradle-build-action@v2
Expand All @@ -62,11 +49,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Java 11
uses: actions/setup-java@v2
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Decode google-services.json
env:
Expand Down Expand Up @@ -111,11 +98,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Java 11
uses: actions/setup-java@v2
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Decode google-services.json
env:
Expand All @@ -131,13 +118,13 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Java 11
uses: actions/setup-java@v2
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Gradle cache
uses: gradle/gradle-build-action@v2
Expand Down Expand Up @@ -177,13 +164,13 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Java 11
uses: actions/setup-java@v2
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Gradle cache
uses: gradle/gradle-build-action@v2
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ output.json
*~
*.swp

# Keystore files
*.jks
*.keystore

# Google Services (e.g. APIs or Firebase)
# google-services.json

Expand Down
Loading

0 comments on commit 4fb2536

Please sign in to comment.