File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test tree-sitter-extractor
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - " shared/tree-sitter-extractor/**"
7
+ - .github/workflows/tree-sitter-extractor-test.yml
8
+ branches :
9
+ - main
10
+ - " rc/*"
11
+ pull_request :
12
+ paths :
13
+ - " shared/tree-sitter-extractor/**"
14
+ - .github/workflows/tree-sitter-extractor-test.yml
15
+ branches :
16
+ - main
17
+ - " rc/*"
18
+
19
+ env :
20
+ CARGO_TERM_COLOR : always
21
+
22
+ defaults :
23
+ run :
24
+ working-directory : shared/tree-sitter-extractor
25
+
26
+ jobs :
27
+ test :
28
+ steps :
29
+ - uses : actions/checkout@v3
30
+ - name : Check formatting
31
+ run : cargo fmt --all -- --check
32
+ - name : Run tests
33
+ run : cargo test --verbose
34
+ - name : Run clippy
35
+ fmt :
36
+ steps :
37
+ - uses : actions/checkout@v3
38
+ - name : Check formatting
39
+ run : cargo fmt --check
40
+ clippy :
41
+ steps :
42
+ - uses : actions/checkout@v3
43
+ - name : Run clippy
44
+ run : cargo clippy -- --no-deps -D warnings
You can’t perform that action at this time.
0 commit comments