Move lint check to the check job (#1330)

* K2 lint

* Move lint check to the check job

* Fix CI
This commit is contained in:
FooIbar authored and GitHub committed 2024-06-18 16:25:38 +00:00
1 parent 0bff011f72
commit 8ddcb003e0
3 files changed
+6 -1

No files matched your search

+3
View File
@@ -48,6 +48,9 @@ jobs:
- name: Spotless Check
run: ./gradlew spotlessCheck
- name: Lint Check
run: ./gradlew lintMarshmallowRelease
default:
runs-on: ubuntu-latest
steps:
+2 -1
View File
@@ -124,8 +124,9 @@ android {
}
lint {
checkReleaseBuilds = false
disable += setOf("MissingTranslation", "MissingQuantity")
fatal += setOf("NewApi", "InlinedApi")
error += setOf("InlinedApi")
}
packaging {
+1
View File
@@ -22,3 +22,4 @@ org.gradle.configuration-cache=true
android.useAndroidX=true
android.enableAppCompileTimeRClass=true
android.experimental.enableNewResourceShrinker.preciseShrinking=true
android.lint.useK2Uast=true