11use gh_workflow:: { Container , Event , Port , Push , Run , Step , Use , Workflow } ;
22use indoc:: { formatdoc, indoc} ;
33
4- use crate :: tasks:: workflows:: {
5- runners:: { self , Platform } ,
6- steps:: { self , CommonJobConditions , NamedJob , dependant_job, named} ,
7- vars,
4+ use crate :: tasks:: workflows:: runners:: { self , Platform } ;
5+ use crate :: tasks:: workflows:: steps:: {
6+ self , CommonJobConditions , FluentBuilder as _, NamedJob , dependant_job, named,
87} ;
8+ use crate :: tasks:: workflows:: vars;
99
1010pub ( crate ) fn deploy_collab ( ) -> Workflow {
1111 let style = style ( ) ;
@@ -31,6 +31,7 @@ fn style() -> NamedJob {
3131 . add_step ( steps:: checkout_repo ( ) . add_with ( ( "fetch-depth" , 0 ) ) )
3232 . add_step ( steps:: setup_cargo_config ( Platform :: Linux ) )
3333 . add_step ( steps:: cache_rust_dependencies_namespace ( ) )
34+ . map ( steps:: install_linux_dependencies)
3435 . add_step ( steps:: cargo_fmt ( ) )
3536 . add_step ( steps:: clippy ( Platform :: Linux ) ) ,
3637 )
@@ -60,6 +61,7 @@ fn tests(deps: &[&NamedJob]) -> NamedJob {
6061 . add_step ( steps:: checkout_repo ( ) . add_with ( ( "fetch-depth" , 0 ) ) )
6162 . add_step ( steps:: setup_cargo_config ( Platform :: Linux ) )
6263 . add_step ( steps:: cache_rust_dependencies_namespace ( ) )
64+ . map ( steps:: install_linux_dependencies)
6365 . add_step ( steps:: cargo_install_nextest ( ) )
6466 . add_step ( steps:: clear_target_dir_if_large ( Platform :: Linux ) )
6567 . add_step ( run_collab_tests ( ) ) ,
0 commit comments