Skip to content

Commit

Permalink
update lint and gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
newhinton committed Oct 20, 2023
1 parent 1d89b73 commit 6441deb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
pull_request:
branches-ignore:
- 'master'

schedule:
- cron: '0 22 * * *' # run at 0:00 GMT+2

jobs:
checkLint:
Expand All @@ -22,3 +23,9 @@ jobs:
cache: gradle
- name: Build app
run: ./gradlew lint -x :rclone:buildAll
- name: Upload Reports
uses: actions/upload-artifact@v3
with:
name: Lint Reports
path: app/build/reports/
retention-days: 30
7 changes: 6 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,15 @@ android {

lint {
baseline = file("lint-baseline.xml")
abortOnError = true

}
namespace 'ca.pkay.rcloneexplorer'

lintOptions {
abortOnError true
}

namespace 'ca.pkay.rcloneexplorer'
}

repositories {
Expand Down
4 changes: 2 additions & 2 deletions safdav/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ apply plugin: 'com.android.library'
android {
defaultConfig {
minSdkVersion 21
compileSdk 33
targetSdkVersion 33
compileSdk 34
targetSdkVersion 34
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Expand Down
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
include ':app', ':safdav', ':rclone'
include ':breadcrumbs'

0 comments on commit 6441deb

Please sign in to comment.