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"
33on :
44 push :
55 paths :
6- - ' ruby/**'
6+ - " ruby/**"
7+ - .github/workflows/ruby-build.yml
78 branches :
89 - main
9- - ' rc/*'
10+ - " rc/*"
1011 pull_request :
1112 paths :
12- - ' ruby/**'
13+ - " ruby/**"
14+ - .github/workflows/ruby-build.yml
1315 branches :
1416 - main
15- - ' rc/*'
17+ - " rc/*"
1618 workflow_dispatch :
1719 inputs :
1820 tag :
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- - ' rc/*'
7+ - " rc/*"
88 paths :
99 - ruby/ql/lib/ruby.dbscheme
10+ - .github/workflows/ruby-dataset-measure.yml
1011 pull_request :
1112 branches :
1213 - main
13- - ' rc/*'
14+ - " rc/*"
1415 paths :
1516 - ruby/ql/lib/ruby.dbscheme
17+ - .github/workflows/ruby-dataset-measure.yml
1618 workflow_dispatch :
1719
1820jobs :
Original file line number Diff line number Diff line change @@ -3,16 +3,18 @@ name: "Ruby: Run QL Tests"
33on :
44 push :
55 paths :
6- - ' ruby/**'
6+ - " ruby/**"
7+ - .github/workflows/ruby-qltest.yml
78 branches :
89 - main
9- - ' rc/*'
10+ - " rc/*"
1011 pull_request :
1112 paths :
12- - ' ruby/**'
13+ - " ruby/**"
14+ - .github/workflows/ruby-qltest.yml
1315 branches :
1416 - main
15- - ' rc/*'
17+ - " rc/*"
1618
1719env :
1820 CARGO_TERM_COLOR : always
4446 run : |
4547 echo >empty.trap
4648 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
4850 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 {
100100}
101101
102102fn 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 ( )
105104}
106105
107106pub fn convert_nodes ( prefix : & str , nodes : & Vec < NodeInfo > ) -> NodeTypeMap {
You can’t perform that action at this time.
0 commit comments