diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index be3f1d5c..bf72d046 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,8 @@ on: pull_request: branches-ignore: - 'master' - + schedule: + - cron: '0 22 * * *' # run at 0:00 GMT+2 jobs: checkLint: @@ -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 diff --git a/app/build.gradle b/app/build.gradle index 78191dbb..38158db3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 { diff --git a/safdav/build.gradle b/safdav/build.gradle index 92b4c863..2a5d673f 100644 --- a/safdav/build.gradle +++ b/safdav/build.gradle @@ -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" } diff --git a/settings.gradle b/settings.gradle index 82a9a816..48331242 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1 @@ include ':app', ':safdav', ':rclone' -include ':breadcrumbs'