File tree Expand file tree Collapse file tree 6 files changed +137
-4
lines changed Expand file tree Collapse file tree 6 files changed +137
-4
lines changed Original file line number Diff line number Diff line change 1+ # To get started with Dependabot version updates, you'll need to specify which
2+ # package ecosystems to update and where the package manifests are located.
3+ # Please see the documentation for all configuration options:
4+ # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+ version : 2
7+ updates :
8+ - package-ecosystem : " gradle"
9+ directory : " /" # Location of package manifests
10+ schedule :
11+ interval : " daily"
12+ - package-ecosystem : " github-actions"
13+ directory : " /" # Location of package manifests
14+ schedule :
15+ interval : " daily"
Original file line number Diff line number Diff line change 1+ changelog :
2+ exclude :
3+ labels :
4+ - ignore-for-release
5+ authors :
6+ - someuser
7+ categories :
8+ - title : Breaking Changes 🛠
9+ labels :
10+ - breaking-change
11+ - title : Exciting New Features 🎉
12+ labels :
13+ - enhancement
14+ - title : Other Changes
15+ labels :
16+ - " *"
Original file line number Diff line number Diff line change 1+ name : Github CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ build :
11+ name : Build
12+ runs-on : macOS-latest
13+ strategy :
14+ matrix :
15+ java_version : [ 11 ]
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v3
19+ - name : Install JDK ${{ matrix.java_version }}
20+ uses : actions/setup-java@v3
21+ with :
22+ distribution : ' adopt'
23+ java-version : ${{ matrix.java_version }}
24+ - name : Install Android SDK
25+ uses : malinskiy/action-android/install-sdk@release/0.1.4
26+ - name : Build project
27+ run : ./gradlew assembleDebug
28+ - name : Run tests
29+ run : ./gradlew test
30+ check :
31+ name : Check
32+ runs-on : ubuntu-latest
33+ strategy :
34+ matrix :
35+ java_version : [ 11 ]
36+ steps :
37+ - name : Checkout
38+ uses : actions/checkout@v3
39+ - name : Install JDK ${{ matrix.java_version }}
40+ uses : actions/setup-java@v3
41+ with :
42+ distribution : ' adopt'
43+ java-version : ${{ matrix.java_version }}
44+ - name : Install Android SDK
45+ uses : malinskiy/action-android/install-sdk@release/0.1.4
46+ - name : Gradle checks
47+ run : ./gradlew check
48+ - name : Archive Lint report
49+ uses : actions/upload-artifact@v3
50+ if : ${{ always() }}
51+ with :
52+ name : 3D-Lint
53+ path : ./**/build/reports/lint-results.html
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ build :
10+ name : Publish release
11+ runs-on : macOS-latest # it comes with NDK installed
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v3
15+ with :
16+ fetch-depth : 0
17+ - name : Find Tag
18+ id : tagger
19+ uses : jimschubert/query-tag-action@v2
20+ with :
21+ skip-unshallow : ' true'
22+ abbrev : false
23+ commit-ish : HEAD
24+ - name : Install JDK
25+ uses : actions/setup-java@v3
26+ with :
27+ java-version : 11
28+ - name : Install Android SDK
29+ uses : malinskiy/action-android/install-sdk@release/0.1.4
30+ - name : Build project
31+ run : ./gradlew build
32+ env :
33+ VERSION : ${{ github.ref }}
34+ - name : Create Release
35+ uses : softprops/action-gh-release@v1
36+ with :
37+ tag_name : ${{steps.tagger.outputs.tag}}
38+ name : ${{steps.tagger.outputs.tag}}
39+ generate_release_notes : true
40+ files : ./app/build/outputs/apk/release/LiveEdgeDetection-*-release.apk
41+ env :
42+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : " Validate Gradle Wrapper"
2+
3+ on : [pull_request]
4+
5+ jobs :
6+ validation :
7+ name : " Validation"
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v3
11+ - uses : gradle/wrapper-validation-action@v1
Original file line number Diff line number Diff line change 1- // Top-level build file where you can add configuration options common to all sub-projects/modules.
21buildscript {
32 repositories {
43 google()
54 mavenCentral()
65 }
76 dependencies {
87 classpath ' com.android.tools.build:gradle:7.2.2'
9-
10- // NOTE: Do not place your application dependencies here; they belong
11- // in the individual module build.gradle files
128 }
139}
1410
You can’t perform that action at this time.
0 commit comments