Skip to content

Commit

Permalink
Pre merge checks (#105)
Browse files Browse the repository at this point in the history
Closes #80
  • Loading branch information
siper committed Jun 4, 2024
1 parent c804f63 commit 849c0cc
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Check and Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v3

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

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Lint
run: ./gradlew lint

- name: Build
run: ./gradlew app:assemble
3 changes: 3 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ android {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
lintOptions {
disable 'MissingTranslation'
}
}

dependencies {
Expand Down
3 changes: 3 additions & 0 deletions buildscripts/android-library.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ android {
freeCompilerArgs.add('-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi')
}
}
lintOptions {
disable 'MissingTranslation'
}
}

0 comments on commit 849c0cc

Please sign in to comment.