File tree Expand file tree Collapse file tree 3 files changed +139
-0
lines changed Expand file tree Collapse file tree 3 files changed +139
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : gradle
4
+ directory : " /"
5
+ schedule :
6
+ interval : daily
7
+ open-pull-requests-limit : 10
8
+
9
+ - package-ecosystem : " github-actions"
10
+ directory : " /"
11
+ schedule :
12
+ interval : daily
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+ branches :
8
+ - ' *'
9
+ schedule :
10
+ # everyday 10AM (UTC)
11
+ - cron : ' 0 10 * * *'
12
+
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress : true
16
+
17
+ jobs :
18
+ build :
19
+ name : Build
20
+ runs-on : ${{ matrix.os }}
21
+ strategy :
22
+ matrix :
23
+ java_version : [17]
24
+ os : [windows-latest]
25
+
26
+ steps :
27
+ - name : Checkout
28
+ uses : actions/checkout@v4
29
+
30
+ - name : Set up JDK ${{ matrix.java_version }}
31
+ uses : actions/setup-java@v4
32
+ with :
33
+ distribution : ' temurin'
34
+ java-version : ${{ matrix.java_version }}
35
+ cache : ' gradle'
36
+
37
+ - name : Build with Gradle
38
+ run : ./gradlew build javadoc asciidoc
39
+
40
+ matrix-test :
41
+ name : Test on java ${{ matrix.java_version }} and ${{ matrix.os }}
42
+ runs-on : ${{ matrix.os }}
43
+ strategy :
44
+ matrix :
45
+ java_version : [17]
46
+ os : [windows-latest] # , macOS-latest (remove macOS as it is not stable for now) , ubuntu-latest (remove Ubuntu as Chrome 77 doesn't work
47
+
48
+ steps :
49
+ - name : Checkout
50
+ uses : actions/checkout@v4
51
+
52
+ - name : Set up JDK ${{ matrix.java_version }}
53
+ uses : actions/setup-java@v4
54
+ with :
55
+ distribution : ' temurin'
56
+ java-version : ${{ matrix.java_version }}
57
+ cache : ' gradle'
58
+
59
+ - name : Build with Gradle
60
+ run : ./gradlew check
Original file line number Diff line number Diff line change
1
+ name : Pull Request Gate CI
2
+
3
+ on : pull_request
4
+
5
+ concurrency :
6
+ group : ${{ github.workflow }}-${{ github.ref }}
7
+ cancel-in-progress : true
8
+
9
+ jobs :
10
+ build :
11
+ name : Build
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ matrix :
15
+ java_version : [17]
16
+ os : [windows-latest]
17
+
18
+ steps :
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+
22
+ - name : Set up JDK ${{ matrix.java_version }}
23
+ uses : actions/setup-java@v4
24
+ with :
25
+ distribution : ' temurin'
26
+ java-version : ${{ matrix.java_version }}
27
+ cache : ' gradle'
28
+
29
+ - name : Build with Gradle
30
+ run : ./gradlew build javadoc asciidoc
31
+
32
+ matrix-test :
33
+ name : Test on java ${{ matrix.java_version }} and ${{ matrix.os }}
34
+ runs-on : ${{ matrix.os }}
35
+ strategy :
36
+ matrix :
37
+ java_version : [17]
38
+ os : [windows-latest] # , macOS-latest (remove macOS as it is not stable for now)
39
+
40
+ steps :
41
+ - name : Checkout
42
+ uses : actions/checkout@v4
43
+
44
+ - name : Set up JDK ${{ matrix.java_version }}
45
+ uses : actions/setup-java@v4
46
+ with :
47
+ distribution : ' temurin'
48
+ java-version : ${{ matrix.java_version }}
49
+ cache : ' gradle'
50
+
51
+ - name : Build with Gradle
52
+ run : ./gradlew check
53
+
54
+ auto-merge :
55
+ name : Auto Merge
56
+ runs-on : ubuntu-latest
57
+ if : ${{ github.actor == 'dependabot[bot]' }}
58
+ permissions :
59
+ contents : write
60
+ pull-requests : write
61
+ env :
62
+ GH_TOKEN : ${{ github.token }}
63
+ steps :
64
+ - name : Checkout
65
+ uses : actions/checkout@v4
66
+ - name : Merge
67
+ run : gh pr merge "${GITHUB_HEAD_REF}" --merge --auto
You can’t perform that action at this time.
0 commit comments