File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 31
31
- CFG : " make-EXPERIMENTAL-check w/ VALGRIND"
32
32
TEST_CMD : " make check-source check-units installcheck check-gen-updated"
33
33
EXPERIMENTAL_FEATURES : 1
34
- VALGRIND: 1
34
+ VALGRIND : 1
35
35
steps :
36
36
- name : Checkout
37
37
97
97
./configure
98
98
make check-doc
99
99
100
+ check-rust :
101
+ name : Check Rust file diff
102
+ runs-on : ubuntu-20.04
103
+ env :
104
+ DEVELOPER : 1
105
+ VALGRIND : 0
106
+ EXPERIMENTAL_FEATURES : 0
107
+ COMPAT : 1
108
+ steps :
109
+ - name : Checkout
110
+
111
+
112
+ - name : Set up Python 3.7
113
+ uses : actions/setup-python@v2
114
+ with :
115
+ python-version : 3.7
116
+
117
+ - name : Install dependencies
118
+ run : bash -x .github/scripts/setup.sh
119
+
120
+ - name : Check Rust diff file
121
+ run : |
122
+ pip install mako
123
+ ./configure
124
+ make check-rust
125
+
126
+
100
127
proto-test :
101
128
name : Protocol Test Config
102
129
runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -510,6 +510,9 @@ check-python-flake8:
510
510
check-pytest-pyln-proto :
511
511
PATH=$(PYLN_PATH ) PYTHONPATH=$(MY_CHECK_PYTHONPATH ) $(PYTEST ) contrib/pyln-proto/tests/
512
512
513
+ check-rust :
514
+ git diff --exit-code .msggen.json | echo " diff in rust file, need to be updated by enabling rust" && exit 1
515
+
513
516
check-includes : check-src-includes check-hdr-includes
514
517
@tools/check-includes.sh
515
518
You can’t perform that action at this time.
0 commit comments