File tree 6 files changed +84
-11
lines changed 6 files changed +84
-11
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ version : 2
3
+ updates :
4
+ - package-ecosystem : " gradle"
5
+ directory : " /"
6
+ schedule :
7
+ interval : " weekly"
8
+ ignore :
9
+ - dependency-name : " kotlin"
10
+ versions : [ "2.x" ]
11
+ commit-message :
12
+ prefix : " [deps]"
Original file line number Diff line number Diff line change
1
+ ---
2
+ changelog :
3
+ exclude :
4
+ labels :
5
+ - ignore-for-release
6
+ categories :
7
+ - title : Breaking Changes 🛠
8
+ labels :
9
+ - breaking-change
10
+ - title : Exciting New Features 🎉
11
+ labels :
12
+ - enhancement
13
+ - title : Other Changes
14
+ labels :
15
+ - " *"
Original file line number Diff line number Diff line change
1
+ ---
1
2
name : Build project
2
- on : [ push ]
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ paths :
8
+ - " .github/**"
9
+ - " src/**"
10
+ - " build.gradle"
11
+ - " gradle.properties"
3
12
jobs :
4
13
build :
5
14
name : Build
6
15
runs-on : ubuntu-latest
7
16
steps :
8
- - uses : actions/checkout@v3
17
+ - uses : actions/checkout@v4
9
18
10
- - uses : actions/setup-java@v3
19
+ - uses : actions/setup-java@v4
11
20
with :
12
21
distribution : " corretto"
13
22
java-version : " 17"
14
23
cache : " gradle"
15
24
16
- - name : Build project
17
- uses : eskatos/gradle-command-action@v1
25
+ - name : Validate
26
+ uses : pre-commit/action@v3.0.0
27
+
28
+ - name : Build and Test
29
+ run : ./gradlew clean build -PskipOn=DEV
30
+
31
+ - name : Upload coverage to Codecov
32
+ if : ${{ !cancelled() }}
33
+ uses : codecov/codecov-action@v4
18
34
with :
19
- dependencies-cache-enabled : true
20
- arguments : clean build -PskipOn=DEV
35
+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Publish
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*.*.*"
7
+ jobs :
8
+ publish :
9
+ name : Publish
10
+ runs-on : ubuntu-latest
11
+ permissions :
12
+ packages : write
13
+ contents : write
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+
17
+ - uses : actions/setup-java@v4
18
+ with :
19
+ distribution : " corretto"
20
+ java-version : " 17"
21
+ cache : " gradle"
22
+
23
+ - name : Publish artefacts
24
+ run : ./gradlew publish
25
+ env :
26
+ GITHUB_USER : ${{ secrets.GITHUB_USER }}
27
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
+
29
+ - name : Create release
30
+ uses : softprops/action-gh-release@v2
Original file line number Diff line number Diff line change 1
1
[ ![ Build project] ( https://github.com/Romanow/skip-method/actions/workflows/build.yml/badge.svg?branch=master )] ( https://github.com/Romanow/skip-method/actions/workflows/build.yml )
2
+ [ ![ pre-commit] ( https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit )] ( https://github.com/pre-commit/pre-commit )
2
3
3
4
# Пропуск вызова метода в тестах
4
5
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ plugins {
10
10
11
11
ext {
12
12
junitVersion = " 5.11.0"
13
- mockitoVersion = " 3.5.11 "
14
- assertjVersion = " 3.19.0 "
15
- aspectjVersion = " 1.9.20 "
16
- lombokVersion = " 1.18.16 "
13
+ mockitoVersion = " 5.13.0 "
14
+ assertjVersion = " 3.26.3 "
15
+ aspectjVersion = " 1.9.22.1 "
16
+ lombokVersion = " 1.18.34 "
17
17
}
18
18
19
19
idea {
You can’t perform that action at this time.
0 commit comments