File tree Expand file tree Collapse file tree 6 files changed +142
-4
lines changed Expand file tree Collapse file tree 6 files changed +142
-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
+ with :
20
+ submodules : true
21
+ - name : Install JDK ${{ matrix.java_version }}
22
+ uses : actions/setup-java@v3
23
+ with :
24
+ distribution : ' adopt'
25
+ java-version : ${{ matrix.java_version }}
26
+ - name : Install Android SDK
27
+ uses : malinskiy/action-android/install-sdk@release/0.1.4
28
+ - name : Build project
29
+ run : ./gradlew assembleDebug
30
+ - name : Run tests
31
+ run : ./gradlew test
32
+ check :
33
+ name : Check
34
+ runs-on : ubuntu-latest
35
+ strategy :
36
+ matrix :
37
+ java_version : [ 11 ]
38
+ steps :
39
+ - name : Checkout
40
+ uses : actions/checkout@v3
41
+ with :
42
+ submodules : true
43
+ - name : Install JDK ${{ matrix.java_version }}
44
+ uses : actions/setup-java@v3
45
+ with :
46
+ distribution : ' adopt'
47
+ java-version : ${{ matrix.java_version }}
48
+ - name : Install Android SDK
49
+ uses : malinskiy/action-android/install-sdk@release/0.1.4
50
+ - name : Gradle checks
51
+ run : ./gradlew check
52
+ - name : Archive Lint report
53
+ uses : actions/upload-artifact@v3
54
+ if : ${{ always() }}
55
+ with :
56
+ name : 3D-Lint
57
+ 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
+ submodules : true
18
+ - name : Find Tag
19
+ id : tagger
20
+ uses : jimschubert/query-tag-action@v2
21
+ with :
22
+ skip-unshallow : ' true'
23
+ abbrev : false
24
+ commit-ish : HEAD
25
+ - name : Install JDK
26
+ uses : actions/setup-java@v3
27
+ with :
28
+ java-version : 11
29
+ - name : Install Android SDK
30
+ uses : malinskiy/action-android/install-sdk@release/0.1.4
31
+ - name : Build project
32
+ run : ./gradlew build
33
+ env :
34
+ VERSION : ${{ github.ref }}
35
+ - name : Create Release
36
+ uses : softprops/action-gh-release@v1
37
+ with :
38
+ tag_name : ${{steps.tagger.outputs.tag}}
39
+ name : ${{steps.tagger.outputs.tag}}
40
+ generate_release_notes : true
41
+ files : ./app/build/outputs/apk/release/LiveEdgeDetection-*-release.apk
42
+ env :
43
+ 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.
2
1
buildscript {
3
2
repositories {
4
3
google()
5
4
mavenCentral()
6
5
}
7
6
dependencies {
8
7
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
12
8
}
13
9
}
14
10
You can’t perform that action at this time.
0 commit comments