File tree Expand file tree Collapse file tree 4 files changed +18
-13
lines changed Expand file tree Collapse file tree 4 files changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,18 @@ name: "Ruby: Build"
3
3
on :
4
4
push :
5
5
paths :
6
- - ' ruby/**'
6
+ - " ruby/**"
7
+ - .github/workflows/ruby-build.yml
7
8
branches :
8
9
- main
9
- - ' rc/*'
10
+ - " rc/*"
10
11
pull_request :
11
12
paths :
12
- - ' ruby/**'
13
+ - " ruby/**"
14
+ - .github/workflows/ruby-build.yml
13
15
branches :
14
16
- main
15
- - ' rc/*'
17
+ - " rc/*"
16
18
workflow_dispatch :
17
19
inputs :
18
20
tag :
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
- - ' rc/*'
7
+ - " rc/*"
8
8
paths :
9
9
- ruby/ql/lib/ruby.dbscheme
10
+ - .github/workflows/ruby-dataset-measure.yml
10
11
pull_request :
11
12
branches :
12
13
- main
13
- - ' rc/*'
14
+ - " rc/*"
14
15
paths :
15
16
- ruby/ql/lib/ruby.dbscheme
17
+ - .github/workflows/ruby-dataset-measure.yml
16
18
workflow_dispatch :
17
19
18
20
jobs :
Original file line number Diff line number Diff line change @@ -3,16 +3,18 @@ name: "Ruby: Run QL Tests"
3
3
on :
4
4
push :
5
5
paths :
6
- - ' ruby/**'
6
+ - " ruby/**"
7
+ - .github/workflows/ruby-qltest.yml
7
8
branches :
8
9
- main
9
- - ' rc/*'
10
+ - " rc/*"
10
11
pull_request :
11
12
paths :
12
- - ' ruby/**'
13
+ - " ruby/**"
14
+ - .github/workflows/ruby-qltest.yml
13
15
branches :
14
16
- main
15
- - ' rc/*'
17
+ - " rc/*"
16
18
17
19
env :
18
20
CARGO_TERM_COLOR : always
44
46
run : |
45
47
echo >empty.trap
46
48
codeql dataset import -S ql/lib/upgrades/initial/ruby.dbscheme testdb empty.trap
47
- codeql dataset upgrade testdb --additional-packs ql/lib/upgrades
49
+ codeql dataset upgrade testdb --additional-packs ql/lib
48
50
diff -q testdb/ruby.dbscheme ql/lib/ruby.dbscheme
Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ fn convert_type(node_type: &NodeType) -> TypeName {
100
100
}
101
101
102
102
fn convert_types ( node_types : & Vec < NodeType > ) -> Set < TypeName > {
103
- let iter = node_types. iter ( ) . map ( convert_type) . collect ( ) ;
104
- std:: collections:: BTreeSet :: from ( iter)
103
+ node_types. iter ( ) . map ( convert_type) . collect ( )
105
104
}
106
105
107
106
pub fn convert_nodes ( prefix : & str , nodes : & Vec < NodeInfo > ) -> NodeTypeMap {
You can’t perform that action at this time.
0 commit comments