File tree 3 files changed +11
-15
lines changed
3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and deploy
2
2
3
- on : [push]
4
-
3
+ on :
4
+ push :
5
+ branches-ignore :
6
+ - ' dependabot/**'
5
7
6
8
jobs :
7
-
8
9
build :
9
10
runs-on : ubuntu-latest
10
11
permissions :
Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
9
9
steps :
10
- - name : Checkout
11
- uses : actions/checkout@master
12
- with :
13
- fetch-depth : 1
14
- - name : ktlint
15
- uses : ScaCap/action-ktlint@master
10
+ - uses : actions/checkout@v4
11
+ - uses : ScaCap/action-ktlint@master
16
12
with :
17
13
github_token : ${{ secrets.github_token }}
18
- reporter : github-check
19
- ktlint_version : 1.0.0
14
+ reporter : github-check
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches-ignore :
6
6
- ' main'
7
+
7
8
jobs :
8
9
test :
9
10
name : test
14
15
with :
15
16
distribution : temurin
16
17
java-version : 17
17
-
18
-
19
- with :
20
- arguments : --configuration-cache test
18
+ - uses : gradle/actions/wrapper-validation@v3
19
+ - uses : gradle/actions/setup-gradle@v3
20
+ - run : ./gradlew test
You can’t perform that action at this time.
0 commit comments