File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,19 @@ jobs:
35
35
with :
36
36
args : -p bugs -p unused --timeout=3m
37
37
38
+ - name : break if proto modifications where not committed
39
+ run : |
40
+ make proto
41
+ - name : Check if there are changes
42
+ uses : UnicornGlobal/has-changes-action@v1.0.12
43
+ - name : Process changes
44
+ if : steps.changes.outputs.changed == 1
45
+ run : echo "Changes exist"
46
+
38
47
- name : build and test
39
48
run : |
40
- make test
41
- make bench
42
-
49
+ make
50
+
43
51
- name : Publish Codecoverage report
44
52
run : bash <(curl -s https://codecov.io/bash)
45
53
Original file line number Diff line number Diff line change 12
12
13
13
.PHONY : protolint
14
14
protolint :
15
- @$(MAKE ) buf CMD=" format -w api/v1"
16
- @$(MAKE ) buf CMD=" lint -v"
15
+ @$(MAKE ) _buf CMD=" format -w api/v1"
16
+ @$(MAKE ) _buf CMD=" lint -v"
17
17
18
18
.PHONY : protoc
19
19
protoc : protolint
20
- @$(MAKE ) buf CMD=" generate -v"
20
+ @$(MAKE ) _buf CMD=" generate -v"
You can’t perform that action at this time.
0 commit comments