From c0fd3a98ba3172ce550c75dd004b41214eca9b7c Mon Sep 17 00:00:00 2001 From: SRetip Date: Fri, 22 Mar 2024 10:37:25 +0200 Subject: [PATCH 1/8] fix template --- module/move/willbe/template/workflow/module_push.hbs | 8 +++++++- .../template/workflow/standard_rust_pull_request.hbs | 2 +- .../move/willbe/template/workflow/standard_rust_push.yml | 2 +- .../willbe/template/workflow/standard_rust_scheduled.yml | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/module/move/willbe/template/workflow/module_push.hbs b/module/move/willbe/template/workflow/module_push.hbs index 9a9264db78..eefdf67f9a 100644 --- a/module/move/willbe/template/workflow/module_push.hbs +++ b/module/move/willbe/template/workflow/module_push.hbs @@ -1,6 +1,12 @@ name : {{name}} -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/module/move/willbe/template/workflow/standard_rust_pull_request.hbs b/module/move/willbe/template/workflow/standard_rust_pull_request.hbs index 5e24a7babc..844d1e2578 100644 --- a/module/move/willbe/template/workflow/standard_rust_pull_request.hbs +++ b/module/move/willbe/template/workflow/standard_rust_pull_request.hbs @@ -47,4 +47,4 @@ jobs : with : manifest_path : './Cargo.toml' module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} - commit_message : !test_$\{{ github.event.base.ref }}_$\{{ github.event.number }} + commit_message : "+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}" diff --git a/module/move/willbe/template/workflow/standard_rust_push.yml b/module/move/willbe/template/workflow/standard_rust_push.yml index 74c74daef8..cc14411799 100644 --- a/module/move/willbe/template/workflow/standard_rust_push.yml +++ b/module/move/willbe/template/workflow/standard_rust_push.yml @@ -35,7 +35,7 @@ env : jobs : checkmate: - if: contains( inputs.commit_message, '+test' ) || contains( inputs.commit_message, 'merge' ) + if : contains( inputs.commit_message, '+test' ) || contains( inputs.commit_message, 'merge' ) runs-on: ubuntu-latest steps: - name: Install latest nightly toolchain diff --git a/module/move/willbe/template/workflow/standard_rust_scheduled.yml b/module/move/willbe/template/workflow/standard_rust_scheduled.yml index 0c6443abf3..e39dbe1535 100644 --- a/module/move/willbe/template/workflow/standard_rust_scheduled.yml +++ b/module/move/willbe/template/workflow/standard_rust_scheduled.yml @@ -19,4 +19,4 @@ jobs : with : manifest_path : './Cargo.toml' module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} - commit_message : !test_$\{{ github.event.base.ref }}_$\{{ github.event.number }} \ No newline at end of file + commit_message : '+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}' \ No newline at end of file From 77723499ab6d6c1323b4c27f0c0c3316d4d58c9b Mon Sep 17 00:00:00 2001 From: SRetip Date: Fri, 22 Mar 2024 10:49:01 +0200 Subject: [PATCH 2/8] workflow fix --- .github/workflows/module_cargo_will_push.yml | 8 +++++++- .github/workflows/module_clone_dyn_meta_push.yml | 8 +++++++- .github/workflows/module_clone_dyn_push.yml | 8 +++++++- .github/workflows/module_collection_tools_push.yml | 8 +++++++- .github/workflows/module_crates_tools_push.yml | 8 +++++++- .github/workflows/module_data_type_push.yml | 8 +++++++- .github/workflows/module_derive_tools_meta_push.yml | 8 +++++++- .github/workflows/module_derive_tools_push.yml | 8 +++++++- .github/workflows/module_deterministic_rand_push.yml | 8 +++++++- .github/workflows/module_diagnostics_tools_push.yml | 8 +++++++- .github/workflows/module_error_tools_push.yml | 8 +++++++- .github/workflows/module_exe_tools_push.yml | 8 +++++++- .github/workflows/module_file_tools_push.yml | 8 +++++++- .github/workflows/module_for_each_push.yml | 8 +++++++- .github/workflows/module_former_meta_push.yml | 8 +++++++- .github/workflows/module_former_push.yml | 8 +++++++- .github/workflows/module_fs_tools_push.yml | 8 +++++++- .github/workflows/module_fundamental_data_type_push.yml | 8 +++++++- .github/workflows/module_graphs_tools_push.yml | 8 +++++++- .github/workflows/module_image_tools_push.yml | 8 +++++++- .github/workflows/module_implements_push.yml | 8 +++++++- .github/workflows/module_impls_index_meta_push.yml | 8 +++++++- .github/workflows/module_impls_index_push.yml | 8 +++++++- .github/workflows/module_include_md_push.yml | 8 +++++++- .github/workflows/module_inspect_type_push.yml | 8 +++++++- .github/workflows/module_instance_of_push.yml | 8 +++++++- .github/workflows/module_interval_adapter_push.yml | 8 +++++++- .github/workflows/module_is_slice_push.yml | 8 +++++++- .github/workflows/module_iter_tools_push.yml | 8 +++++++- .github/workflows/module_macro_tools_push.yml | 8 +++++++- .github/workflows/module_math_tools_push.yml | 8 +++++++- .github/workflows/module_mem_tools_push.yml | 8 +++++++- .github/workflows/module_meta_tools_push.yml | 8 +++++++- .github/workflows/module_mod_interface_meta_push.yml | 8 +++++++- .github/workflows/module_mod_interface_push.yml | 8 +++++++- .github/workflows/module_multilayer_push.yml | 8 +++++++- .github/workflows/module_optimization_tools_push.yml | 8 +++++++- .github/workflows/module_plot_interface_push.yml | 8 +++++++- .github/workflows/module_proc_macro_tools_push.yml | 8 +++++++- .github/workflows/module_process_tools_push.yml | 8 +++++++- .github/workflows/module_proper_path_tools_push.yml | 8 +++++++- .github/workflows/module_proper_tools_push.yml | 8 +++++++- .github/workflows/module_refiner_push.yml | 8 +++++++- .github/workflows/module_reflect_tools_meta_push.yml | 8 +++++++- .github/workflows/module_reflect_tools_push.yml | 8 +++++++- .github/workflows/module_sqlx_query_push.yml | 8 +++++++- .github/workflows/module_strs_tools_push.yml | 8 +++++++- .github/workflows/module_test_experimental_a_push.yml | 8 +++++++- .github/workflows/module_test_experimental_b_push.yml | 8 +++++++- .github/workflows/module_test_experimental_c_push.yml | 8 +++++++- .github/workflows/module_test_tools_push.yml | 8 +++++++- .github/workflows/module_time_tools_push.yml | 8 +++++++- .github/workflows/module_typing_tools_push.yml | 8 +++++++- .github/workflows/module_unitore_push.yml | 8 +++++++- .github/workflows/module_variadic_from_push.yml | 8 +++++++- .github/workflows/module_w_4_d_push.yml | 8 +++++++- .github/workflows/module_wca_push.yml | 8 +++++++- .github/workflows/module_werror_push.yml | 8 +++++++- .github/workflows/module_willbe_2_push.yml | 8 +++++++- .github/workflows/module_willbe_old_push.yml | 8 +++++++- .github/workflows/module_willbe_push.yml | 8 +++++++- .github/workflows/module_winterval_push.yml | 8 +++++++- .github/workflows/module_wlang_push.yml | 8 +++++++- .github/workflows/module_wplot_push.yml | 8 +++++++- .github/workflows/module_wproc_macro_push.yml | 8 +++++++- .github/workflows/module_wstring_tools_push.yml | 8 +++++++- .github/workflows/module_wtest_basic_push.yml | 8 +++++++- .github/workflows/module_wtest_push.yml | 8 +++++++- .github/workflows/module_wtools_push.yml | 8 +++++++- .github/workflows/standard_rust_pull_request.yml | 2 +- .github/workflows/standard_rust_push.yml | 2 +- .github/workflows/standard_rust_scheduled.yml | 2 +- module/move/willbe/src/action/cicd_renew.rs | 1 - 73 files changed, 486 insertions(+), 73 deletions(-) diff --git a/.github/workflows/module_cargo_will_push.yml b/.github/workflows/module_cargo_will_push.yml index b367acc87e..21f10e3bf2 100644 --- a/.github/workflows/module_cargo_will_push.yml +++ b/.github/workflows/module_cargo_will_push.yml @@ -1,6 +1,12 @@ name : cargo_will -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_clone_dyn_meta_push.yml b/.github/workflows/module_clone_dyn_meta_push.yml index 103ec2e580..c7bba8273c 100644 --- a/.github/workflows/module_clone_dyn_meta_push.yml +++ b/.github/workflows/module_clone_dyn_meta_push.yml @@ -1,6 +1,12 @@ name : clone_dyn_meta -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_clone_dyn_push.yml b/.github/workflows/module_clone_dyn_push.yml index 9768c5376f..c317d7a905 100644 --- a/.github/workflows/module_clone_dyn_push.yml +++ b/.github/workflows/module_clone_dyn_push.yml @@ -1,6 +1,12 @@ name : clone_dyn -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_collection_tools_push.yml b/.github/workflows/module_collection_tools_push.yml index 5e2b0178d1..b15ad33e2d 100644 --- a/.github/workflows/module_collection_tools_push.yml +++ b/.github/workflows/module_collection_tools_push.yml @@ -1,6 +1,12 @@ name : collection_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_crates_tools_push.yml b/.github/workflows/module_crates_tools_push.yml index 9ec96a5c63..7584d03db9 100644 --- a/.github/workflows/module_crates_tools_push.yml +++ b/.github/workflows/module_crates_tools_push.yml @@ -1,6 +1,12 @@ name : crates_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_data_type_push.yml b/.github/workflows/module_data_type_push.yml index 1a868bd666..f97d698bf7 100644 --- a/.github/workflows/module_data_type_push.yml +++ b/.github/workflows/module_data_type_push.yml @@ -1,6 +1,12 @@ name : data_type -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_derive_tools_meta_push.yml b/.github/workflows/module_derive_tools_meta_push.yml index e464ea5892..66b6bae97f 100644 --- a/.github/workflows/module_derive_tools_meta_push.yml +++ b/.github/workflows/module_derive_tools_meta_push.yml @@ -1,6 +1,12 @@ name : derive_tools_meta -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_derive_tools_push.yml b/.github/workflows/module_derive_tools_push.yml index eb6ef4c2c1..90eaa4abaf 100644 --- a/.github/workflows/module_derive_tools_push.yml +++ b/.github/workflows/module_derive_tools_push.yml @@ -1,6 +1,12 @@ name : derive_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_deterministic_rand_push.yml b/.github/workflows/module_deterministic_rand_push.yml index 8143699b6a..551a13100b 100644 --- a/.github/workflows/module_deterministic_rand_push.yml +++ b/.github/workflows/module_deterministic_rand_push.yml @@ -1,6 +1,12 @@ name : deterministic_rand -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_diagnostics_tools_push.yml b/.github/workflows/module_diagnostics_tools_push.yml index da43b57dee..f9b78da3ad 100644 --- a/.github/workflows/module_diagnostics_tools_push.yml +++ b/.github/workflows/module_diagnostics_tools_push.yml @@ -1,6 +1,12 @@ name : diagnostics_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_error_tools_push.yml b/.github/workflows/module_error_tools_push.yml index ff6c402e5d..80c57d84d3 100644 --- a/.github/workflows/module_error_tools_push.yml +++ b/.github/workflows/module_error_tools_push.yml @@ -1,6 +1,12 @@ name : error_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_exe_tools_push.yml b/.github/workflows/module_exe_tools_push.yml index e10f17f43d..e1ae566533 100644 --- a/.github/workflows/module_exe_tools_push.yml +++ b/.github/workflows/module_exe_tools_push.yml @@ -1,6 +1,12 @@ name : exe_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_file_tools_push.yml b/.github/workflows/module_file_tools_push.yml index e08741f63f..21d3f0b973 100644 --- a/.github/workflows/module_file_tools_push.yml +++ b/.github/workflows/module_file_tools_push.yml @@ -1,6 +1,12 @@ name : file_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_for_each_push.yml b/.github/workflows/module_for_each_push.yml index 987d0a8500..c6ee0c63fb 100644 --- a/.github/workflows/module_for_each_push.yml +++ b/.github/workflows/module_for_each_push.yml @@ -1,6 +1,12 @@ name : for_each -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_former_meta_push.yml b/.github/workflows/module_former_meta_push.yml index dd3e128412..ef166669ca 100644 --- a/.github/workflows/module_former_meta_push.yml +++ b/.github/workflows/module_former_meta_push.yml @@ -1,6 +1,12 @@ name : former_meta -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_former_push.yml b/.github/workflows/module_former_push.yml index 4992cd2b2d..33439f4ffe 100644 --- a/.github/workflows/module_former_push.yml +++ b/.github/workflows/module_former_push.yml @@ -1,6 +1,12 @@ name : former -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_fs_tools_push.yml b/.github/workflows/module_fs_tools_push.yml index 06d1572a4c..31d4f31aba 100644 --- a/.github/workflows/module_fs_tools_push.yml +++ b/.github/workflows/module_fs_tools_push.yml @@ -1,6 +1,12 @@ name : fs_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_fundamental_data_type_push.yml b/.github/workflows/module_fundamental_data_type_push.yml index 9ea5c24598..5d22e3e2c7 100644 --- a/.github/workflows/module_fundamental_data_type_push.yml +++ b/.github/workflows/module_fundamental_data_type_push.yml @@ -1,6 +1,12 @@ name : fundamental_data_type -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_graphs_tools_push.yml b/.github/workflows/module_graphs_tools_push.yml index d14b51b71f..e455ddff27 100644 --- a/.github/workflows/module_graphs_tools_push.yml +++ b/.github/workflows/module_graphs_tools_push.yml @@ -1,6 +1,12 @@ name : graphs_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_image_tools_push.yml b/.github/workflows/module_image_tools_push.yml index af47c4786d..4e14f26d7f 100644 --- a/.github/workflows/module_image_tools_push.yml +++ b/.github/workflows/module_image_tools_push.yml @@ -1,6 +1,12 @@ name : image_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_implements_push.yml b/.github/workflows/module_implements_push.yml index 98343dd15b..2e5705e763 100644 --- a/.github/workflows/module_implements_push.yml +++ b/.github/workflows/module_implements_push.yml @@ -1,6 +1,12 @@ name : implements -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_impls_index_meta_push.yml b/.github/workflows/module_impls_index_meta_push.yml index 0a0d8f3cd2..0b48e4a551 100644 --- a/.github/workflows/module_impls_index_meta_push.yml +++ b/.github/workflows/module_impls_index_meta_push.yml @@ -1,6 +1,12 @@ name : impls_index_meta -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_impls_index_push.yml b/.github/workflows/module_impls_index_push.yml index 001a1651b9..461b3073e6 100644 --- a/.github/workflows/module_impls_index_push.yml +++ b/.github/workflows/module_impls_index_push.yml @@ -1,6 +1,12 @@ name : impls_index -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_include_md_push.yml b/.github/workflows/module_include_md_push.yml index e14f3cc76a..8c18229ca9 100644 --- a/.github/workflows/module_include_md_push.yml +++ b/.github/workflows/module_include_md_push.yml @@ -1,6 +1,12 @@ name : include_md -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_inspect_type_push.yml b/.github/workflows/module_inspect_type_push.yml index 2667c0f388..4c5052e2d5 100644 --- a/.github/workflows/module_inspect_type_push.yml +++ b/.github/workflows/module_inspect_type_push.yml @@ -1,6 +1,12 @@ name : inspect_type -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_instance_of_push.yml b/.github/workflows/module_instance_of_push.yml index 998bc6f8a0..c8854f4644 100644 --- a/.github/workflows/module_instance_of_push.yml +++ b/.github/workflows/module_instance_of_push.yml @@ -1,6 +1,12 @@ name : instance_of -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_interval_adapter_push.yml b/.github/workflows/module_interval_adapter_push.yml index c3b2454ccb..af32acd608 100644 --- a/.github/workflows/module_interval_adapter_push.yml +++ b/.github/workflows/module_interval_adapter_push.yml @@ -1,6 +1,12 @@ name : interval_adapter -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_is_slice_push.yml b/.github/workflows/module_is_slice_push.yml index 04513b0b16..ea170197e3 100644 --- a/.github/workflows/module_is_slice_push.yml +++ b/.github/workflows/module_is_slice_push.yml @@ -1,6 +1,12 @@ name : is_slice -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_iter_tools_push.yml b/.github/workflows/module_iter_tools_push.yml index b8e7536e60..01a24dcffa 100644 --- a/.github/workflows/module_iter_tools_push.yml +++ b/.github/workflows/module_iter_tools_push.yml @@ -1,6 +1,12 @@ name : iter_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_macro_tools_push.yml b/.github/workflows/module_macro_tools_push.yml index 603cb5625b..99f51d2309 100644 --- a/.github/workflows/module_macro_tools_push.yml +++ b/.github/workflows/module_macro_tools_push.yml @@ -1,6 +1,12 @@ name : macro_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_math_tools_push.yml b/.github/workflows/module_math_tools_push.yml index 4ad558399f..d113b1b198 100644 --- a/.github/workflows/module_math_tools_push.yml +++ b/.github/workflows/module_math_tools_push.yml @@ -1,6 +1,12 @@ name : math_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_mem_tools_push.yml b/.github/workflows/module_mem_tools_push.yml index 15f4ade5e6..abfb7b259f 100644 --- a/.github/workflows/module_mem_tools_push.yml +++ b/.github/workflows/module_mem_tools_push.yml @@ -1,6 +1,12 @@ name : mem_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_meta_tools_push.yml b/.github/workflows/module_meta_tools_push.yml index 6cae351be3..6ab35166ff 100644 --- a/.github/workflows/module_meta_tools_push.yml +++ b/.github/workflows/module_meta_tools_push.yml @@ -1,6 +1,12 @@ name : meta_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_mod_interface_meta_push.yml b/.github/workflows/module_mod_interface_meta_push.yml index 95b5764a1a..a66cafb922 100644 --- a/.github/workflows/module_mod_interface_meta_push.yml +++ b/.github/workflows/module_mod_interface_meta_push.yml @@ -1,6 +1,12 @@ name : mod_interface_meta -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_mod_interface_push.yml b/.github/workflows/module_mod_interface_push.yml index d17f93e45e..ea0077a7bc 100644 --- a/.github/workflows/module_mod_interface_push.yml +++ b/.github/workflows/module_mod_interface_push.yml @@ -1,6 +1,12 @@ name : mod_interface -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_multilayer_push.yml b/.github/workflows/module_multilayer_push.yml index 4a79cd25a5..c0651726fe 100644 --- a/.github/workflows/module_multilayer_push.yml +++ b/.github/workflows/module_multilayer_push.yml @@ -1,6 +1,12 @@ name : multilayer -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_optimization_tools_push.yml b/.github/workflows/module_optimization_tools_push.yml index c3ef67465f..5083841c3f 100644 --- a/.github/workflows/module_optimization_tools_push.yml +++ b/.github/workflows/module_optimization_tools_push.yml @@ -1,6 +1,12 @@ name : optimization_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_plot_interface_push.yml b/.github/workflows/module_plot_interface_push.yml index 4fb071a9d8..8a1bb71727 100644 --- a/.github/workflows/module_plot_interface_push.yml +++ b/.github/workflows/module_plot_interface_push.yml @@ -1,6 +1,12 @@ name : plot_interface -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_proc_macro_tools_push.yml b/.github/workflows/module_proc_macro_tools_push.yml index 158b3d27eb..936b353d90 100644 --- a/.github/workflows/module_proc_macro_tools_push.yml +++ b/.github/workflows/module_proc_macro_tools_push.yml @@ -1,6 +1,12 @@ name : proc_macro_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_process_tools_push.yml b/.github/workflows/module_process_tools_push.yml index fbb6dce255..895457b3b9 100644 --- a/.github/workflows/module_process_tools_push.yml +++ b/.github/workflows/module_process_tools_push.yml @@ -1,6 +1,12 @@ name : process_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_proper_path_tools_push.yml b/.github/workflows/module_proper_path_tools_push.yml index dd2e6fe21c..fcff1bb334 100644 --- a/.github/workflows/module_proper_path_tools_push.yml +++ b/.github/workflows/module_proper_path_tools_push.yml @@ -1,6 +1,12 @@ name : proper_path_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_proper_tools_push.yml b/.github/workflows/module_proper_tools_push.yml index 7a850e3fa8..7e1ff42c3e 100644 --- a/.github/workflows/module_proper_tools_push.yml +++ b/.github/workflows/module_proper_tools_push.yml @@ -1,6 +1,12 @@ name : proper_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_refiner_push.yml b/.github/workflows/module_refiner_push.yml index 1daf506409..d05c5b7721 100644 --- a/.github/workflows/module_refiner_push.yml +++ b/.github/workflows/module_refiner_push.yml @@ -1,6 +1,12 @@ name : refiner -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_reflect_tools_meta_push.yml b/.github/workflows/module_reflect_tools_meta_push.yml index 33e7d2d28a..a799d1203c 100644 --- a/.github/workflows/module_reflect_tools_meta_push.yml +++ b/.github/workflows/module_reflect_tools_meta_push.yml @@ -1,6 +1,12 @@ name : reflect_tools_meta -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_reflect_tools_push.yml b/.github/workflows/module_reflect_tools_push.yml index 6538dfd8a1..8cd20cba88 100644 --- a/.github/workflows/module_reflect_tools_push.yml +++ b/.github/workflows/module_reflect_tools_push.yml @@ -1,6 +1,12 @@ name : reflect_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_sqlx_query_push.yml b/.github/workflows/module_sqlx_query_push.yml index 20220b54f2..8971a72e9c 100644 --- a/.github/workflows/module_sqlx_query_push.yml +++ b/.github/workflows/module_sqlx_query_push.yml @@ -1,6 +1,12 @@ name : sqlx_query -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_strs_tools_push.yml b/.github/workflows/module_strs_tools_push.yml index b37fdbd485..c78284be32 100644 --- a/.github/workflows/module_strs_tools_push.yml +++ b/.github/workflows/module_strs_tools_push.yml @@ -1,6 +1,12 @@ name : strs_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_test_experimental_a_push.yml b/.github/workflows/module_test_experimental_a_push.yml index bd1e8293ed..d1c9875c6e 100644 --- a/.github/workflows/module_test_experimental_a_push.yml +++ b/.github/workflows/module_test_experimental_a_push.yml @@ -1,6 +1,12 @@ name : test_experimental_a -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_test_experimental_b_push.yml b/.github/workflows/module_test_experimental_b_push.yml index 7c76300bd8..64273ba81a 100644 --- a/.github/workflows/module_test_experimental_b_push.yml +++ b/.github/workflows/module_test_experimental_b_push.yml @@ -1,6 +1,12 @@ name : test_experimental_b -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_test_experimental_c_push.yml b/.github/workflows/module_test_experimental_c_push.yml index ec7fe5d278..6357d5a962 100644 --- a/.github/workflows/module_test_experimental_c_push.yml +++ b/.github/workflows/module_test_experimental_c_push.yml @@ -1,6 +1,12 @@ name : test_experimental_c -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_test_tools_push.yml b/.github/workflows/module_test_tools_push.yml index 74ee269b77..9a474a75b8 100644 --- a/.github/workflows/module_test_tools_push.yml +++ b/.github/workflows/module_test_tools_push.yml @@ -1,6 +1,12 @@ name : test_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_time_tools_push.yml b/.github/workflows/module_time_tools_push.yml index 68c6610818..fb7cbaf00d 100644 --- a/.github/workflows/module_time_tools_push.yml +++ b/.github/workflows/module_time_tools_push.yml @@ -1,6 +1,12 @@ name : time_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_typing_tools_push.yml b/.github/workflows/module_typing_tools_push.yml index 0b598ac668..dadb561f77 100644 --- a/.github/workflows/module_typing_tools_push.yml +++ b/.github/workflows/module_typing_tools_push.yml @@ -1,6 +1,12 @@ name : typing_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_unitore_push.yml b/.github/workflows/module_unitore_push.yml index 6904bfef87..f783dfab5a 100644 --- a/.github/workflows/module_unitore_push.yml +++ b/.github/workflows/module_unitore_push.yml @@ -1,6 +1,12 @@ name : unitore -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_variadic_from_push.yml b/.github/workflows/module_variadic_from_push.yml index d35efa235c..eee1477a41 100644 --- a/.github/workflows/module_variadic_from_push.yml +++ b/.github/workflows/module_variadic_from_push.yml @@ -1,6 +1,12 @@ name : variadic_from -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_w_4_d_push.yml b/.github/workflows/module_w_4_d_push.yml index 65fd083793..219c5fd8e5 100644 --- a/.github/workflows/module_w_4_d_push.yml +++ b/.github/workflows/module_w_4_d_push.yml @@ -1,6 +1,12 @@ name : w4d -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_wca_push.yml b/.github/workflows/module_wca_push.yml index 1699de6407..798c576102 100644 --- a/.github/workflows/module_wca_push.yml +++ b/.github/workflows/module_wca_push.yml @@ -1,6 +1,12 @@ name : wca -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_werror_push.yml b/.github/workflows/module_werror_push.yml index 5194256ac4..09ad347aa2 100644 --- a/.github/workflows/module_werror_push.yml +++ b/.github/workflows/module_werror_push.yml @@ -1,6 +1,12 @@ name : werror -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_willbe_2_push.yml b/.github/workflows/module_willbe_2_push.yml index 42b58c06b1..ae4e87a73c 100644 --- a/.github/workflows/module_willbe_2_push.yml +++ b/.github/workflows/module_willbe_2_push.yml @@ -1,6 +1,12 @@ name : willbe2 -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_willbe_old_push.yml b/.github/workflows/module_willbe_old_push.yml index 6fd3eef5bd..6a8e058144 100644 --- a/.github/workflows/module_willbe_old_push.yml +++ b/.github/workflows/module_willbe_old_push.yml @@ -1,6 +1,12 @@ name : willbe_old -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_willbe_push.yml b/.github/workflows/module_willbe_push.yml index 95dd8f72f0..4cf9a39d0b 100644 --- a/.github/workflows/module_willbe_push.yml +++ b/.github/workflows/module_willbe_push.yml @@ -1,6 +1,12 @@ name : willbe -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_winterval_push.yml b/.github/workflows/module_winterval_push.yml index af7c5221f1..7262cf18d6 100644 --- a/.github/workflows/module_winterval_push.yml +++ b/.github/workflows/module_winterval_push.yml @@ -1,6 +1,12 @@ name : winterval -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_wlang_push.yml b/.github/workflows/module_wlang_push.yml index 22ba799aaf..02552efea4 100644 --- a/.github/workflows/module_wlang_push.yml +++ b/.github/workflows/module_wlang_push.yml @@ -1,6 +1,12 @@ name : wlang -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_wplot_push.yml b/.github/workflows/module_wplot_push.yml index 1bf0608c25..647c12b523 100644 --- a/.github/workflows/module_wplot_push.yml +++ b/.github/workflows/module_wplot_push.yml @@ -1,6 +1,12 @@ name : wplot -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_wproc_macro_push.yml b/.github/workflows/module_wproc_macro_push.yml index c25cdca390..a061484b02 100644 --- a/.github/workflows/module_wproc_macro_push.yml +++ b/.github/workflows/module_wproc_macro_push.yml @@ -1,6 +1,12 @@ name : wproc_macro -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_wstring_tools_push.yml b/.github/workflows/module_wstring_tools_push.yml index 0466ad8d58..b2e3eae290 100644 --- a/.github/workflows/module_wstring_tools_push.yml +++ b/.github/workflows/module_wstring_tools_push.yml @@ -1,6 +1,12 @@ name : wstring_tools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_wtest_basic_push.yml b/.github/workflows/module_wtest_basic_push.yml index 11dde8b597..f9e978ef45 100644 --- a/.github/workflows/module_wtest_basic_push.yml +++ b/.github/workflows/module_wtest_basic_push.yml @@ -1,6 +1,12 @@ name : wtest_basic -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_wtest_push.yml b/.github/workflows/module_wtest_push.yml index 2974f9d72c..3b4c5618c3 100644 --- a/.github/workflows/module_wtest_push.yml +++ b/.github/workflows/module_wtest_push.yml @@ -1,6 +1,12 @@ name : wtest -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/module_wtools_push.yml b/.github/workflows/module_wtools_push.yml index fa25b488ae..2b0ccb4642 100644 --- a/.github/workflows/module_wtools_push.yml +++ b/.github/workflows/module_wtools_push.yml @@ -1,6 +1,12 @@ name : wtools -on : push +on : + push : + branches-ignore : + - 'alpha' + - 'beta' + - 'master' + env : CARGO_TERM_COLOR : always diff --git a/.github/workflows/standard_rust_pull_request.yml b/.github/workflows/standard_rust_pull_request.yml index b3caaf460e..65b3547bfd 100644 --- a/.github/workflows/standard_rust_pull_request.yml +++ b/.github/workflows/standard_rust_pull_request.yml @@ -47,4 +47,4 @@ jobs : with : manifest_path : './Cargo.toml' module_name : ${{ github.event.base.ref }}_${{ github.event.number }} - commit_message : !test_${{ github.event.base.ref }}_${{ github.event.number }} + commit_message : "+test_${{ github.event.base.ref }}_${{ github.event.number }}" diff --git a/.github/workflows/standard_rust_push.yml b/.github/workflows/standard_rust_push.yml index 74c74daef8..cc14411799 100644 --- a/.github/workflows/standard_rust_push.yml +++ b/.github/workflows/standard_rust_push.yml @@ -35,7 +35,7 @@ env : jobs : checkmate: - if: contains( inputs.commit_message, '+test' ) || contains( inputs.commit_message, 'merge' ) + if : contains( inputs.commit_message, '+test' ) || contains( inputs.commit_message, 'merge' ) runs-on: ubuntu-latest steps: - name: Install latest nightly toolchain diff --git a/.github/workflows/standard_rust_scheduled.yml b/.github/workflows/standard_rust_scheduled.yml index 0c6443abf3..e39dbe1535 100644 --- a/.github/workflows/standard_rust_scheduled.yml +++ b/.github/workflows/standard_rust_scheduled.yml @@ -19,4 +19,4 @@ jobs : with : manifest_path : './Cargo.toml' module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} - commit_message : !test_$\{{ github.event.base.ref }}_$\{{ github.event.number }} \ No newline at end of file + commit_message : '+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}' \ No newline at end of file diff --git a/module/move/willbe/src/action/cicd_renew.rs b/module/move/willbe/src/action/cicd_renew.rs index 2fa9508c42..999d993998 100644 --- a/module/move/willbe/src/action/cicd_renew.rs +++ b/module/move/willbe/src/action/cicd_renew.rs @@ -65,7 +65,6 @@ mod private .filter_map( | p | p.strip_prefix( workspace_root ).ok() ) .map( | p | p.with_file_name( "" ) ) .collect::< Vec< _ > >(); - dbg!( &relative_paths ); // preparing templates let mut handlebars = handlebars::Handlebars::new(); From 00cd7a9b7b296f77fbdfa8b311d9e4363b50c9c0 Mon Sep 17 00:00:00 2001 From: SRetip Date: Fri, 22 Mar 2024 10:56:22 +0200 Subject: [PATCH 3/8] +test --- .github/workflows/standard_rust_pull_request.yml | 2 +- .github/workflows/standard_rust_scheduled.yml | 2 +- .../willbe/template/workflow/standard_rust_pull_request.hbs | 2 +- .../move/willbe/template/workflow/standard_rust_scheduled.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/standard_rust_pull_request.yml b/.github/workflows/standard_rust_pull_request.yml index 65b3547bfd..dd844d5b15 100644 --- a/.github/workflows/standard_rust_pull_request.yml +++ b/.github/workflows/standard_rust_pull_request.yml @@ -45,6 +45,6 @@ jobs : if : ${{ needs.check.outputs.should_run == 'true' }} uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : './Cargo.toml' + manifest_path : '' module_name : ${{ github.event.base.ref }}_${{ github.event.number }} commit_message : "+test_${{ github.event.base.ref }}_${{ github.event.number }}" diff --git a/.github/workflows/standard_rust_scheduled.yml b/.github/workflows/standard_rust_scheduled.yml index e39dbe1535..53bdd96c7c 100644 --- a/.github/workflows/standard_rust_scheduled.yml +++ b/.github/workflows/standard_rust_scheduled.yml @@ -17,6 +17,6 @@ jobs : if : ${{ needs.check.outputs.should_run == 'true' }} uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : './Cargo.toml' + manifest_path : '' module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} commit_message : '+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}' \ No newline at end of file diff --git a/module/move/willbe/template/workflow/standard_rust_pull_request.hbs b/module/move/willbe/template/workflow/standard_rust_pull_request.hbs index 844d1e2578..4d53fd5b93 100644 --- a/module/move/willbe/template/workflow/standard_rust_pull_request.hbs +++ b/module/move/willbe/template/workflow/standard_rust_pull_request.hbs @@ -45,6 +45,6 @@ jobs : if : $\{{ needs.check.outputs.should_run == 'true' }} uses : {{username_and_repository}}/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : './Cargo.toml' + manifest_path : '' module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} commit_message : "+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}" diff --git a/module/move/willbe/template/workflow/standard_rust_scheduled.yml b/module/move/willbe/template/workflow/standard_rust_scheduled.yml index e39dbe1535..53bdd96c7c 100644 --- a/module/move/willbe/template/workflow/standard_rust_scheduled.yml +++ b/module/move/willbe/template/workflow/standard_rust_scheduled.yml @@ -17,6 +17,6 @@ jobs : if : ${{ needs.check.outputs.should_run == 'true' }} uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : './Cargo.toml' + manifest_path : '' module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} commit_message : '+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}' \ No newline at end of file From 9e240b61d9dedfc2a061f96460fba4420f785f2d Mon Sep 17 00:00:00 2001 From: SRetip Date: Fri, 22 Mar 2024 11:15:37 +0200 Subject: [PATCH 4/8] +test --- .github/workflows/standard_rust_push.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/standard_rust_push.yml b/.github/workflows/standard_rust_push.yml index cc14411799..7b44f2cc47 100644 --- a/.github/workflows/standard_rust_push.yml +++ b/.github/workflows/standard_rust_push.yml @@ -153,6 +153,12 @@ jobs : run: cargo install --git https://github.com/Wandalen/wTools --branch alpha willbe - name: Set MANIFEST_ROOT_PATH id: rootpath - run: echo "::set-output name=path::$(dirname ${{ inputs.manifest_path }})" + shell: bash + run: | + if [[ "${{ inputs.manifest_path }}" == "./Cargo.toml" ]]; then + echo "path=" >> $GITHUB_ENV + else + echo "path=$(dirname ${{ inputs.manifest_path }})" >> $GITHUB_ENV + fi - name: Run tests with each feature run: will .test ${{ steps.rootpath.outputs.path }} dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1 \ No newline at end of file From a61482e3a02ed65f071d3c4642d4e88800447b06 Mon Sep 17 00:00:00 2001 From: SRetip Date: Fri, 22 Mar 2024 11:28:46 +0200 Subject: [PATCH 5/8] +test --- .github/workflows/standard_rust_push.yml | 2 +- .../move/willbe/template/workflow/standard_rust_push.yml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/standard_rust_push.yml b/.github/workflows/standard_rust_push.yml index 7b44f2cc47..fde3ac9dae 100644 --- a/.github/workflows/standard_rust_push.yml +++ b/.github/workflows/standard_rust_push.yml @@ -155,7 +155,7 @@ jobs : id: rootpath shell: bash run: | - if [[ "${{ inputs.manifest_path }}" == "./Cargo.toml" ]]; then + if [[ "${{ inputs.manifest_path }}" == "" || "${{ inputs.manifest_path }}" == "./Cargo.toml" ]]; then echo "path=" >> $GITHUB_ENV else echo "path=$(dirname ${{ inputs.manifest_path }})" >> $GITHUB_ENV diff --git a/module/move/willbe/template/workflow/standard_rust_push.yml b/module/move/willbe/template/workflow/standard_rust_push.yml index cc14411799..fde3ac9dae 100644 --- a/module/move/willbe/template/workflow/standard_rust_push.yml +++ b/module/move/willbe/template/workflow/standard_rust_push.yml @@ -153,6 +153,12 @@ jobs : run: cargo install --git https://github.com/Wandalen/wTools --branch alpha willbe - name: Set MANIFEST_ROOT_PATH id: rootpath - run: echo "::set-output name=path::$(dirname ${{ inputs.manifest_path }})" + shell: bash + run: | + if [[ "${{ inputs.manifest_path }}" == "" || "${{ inputs.manifest_path }}" == "./Cargo.toml" ]]; then + echo "path=" >> $GITHUB_ENV + else + echo "path=$(dirname ${{ inputs.manifest_path }})" >> $GITHUB_ENV + fi - name: Run tests with each feature run: will .test ${{ steps.rootpath.outputs.path }} dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1 \ No newline at end of file From 4e12d5324f441b3ea4c7919889a67b80558d5064 Mon Sep 17 00:00:00 2001 From: SRetip Date: Fri, 22 Mar 2024 11:35:25 +0200 Subject: [PATCH 6/8] +test --- .github/workflows/standard_rust_pull_request.yml | 2 +- .github/workflows/standard_rust_scheduled.yml | 2 +- .../willbe/template/workflow/standard_rust_pull_request.hbs | 2 +- .../move/willbe/template/workflow/standard_rust_scheduled.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/standard_rust_pull_request.yml b/.github/workflows/standard_rust_pull_request.yml index dd844d5b15..65b3547bfd 100644 --- a/.github/workflows/standard_rust_pull_request.yml +++ b/.github/workflows/standard_rust_pull_request.yml @@ -45,6 +45,6 @@ jobs : if : ${{ needs.check.outputs.should_run == 'true' }} uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : '' + manifest_path : './Cargo.toml' module_name : ${{ github.event.base.ref }}_${{ github.event.number }} commit_message : "+test_${{ github.event.base.ref }}_${{ github.event.number }}" diff --git a/.github/workflows/standard_rust_scheduled.yml b/.github/workflows/standard_rust_scheduled.yml index 53bdd96c7c..e39dbe1535 100644 --- a/.github/workflows/standard_rust_scheduled.yml +++ b/.github/workflows/standard_rust_scheduled.yml @@ -17,6 +17,6 @@ jobs : if : ${{ needs.check.outputs.should_run == 'true' }} uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : '' + manifest_path : './Cargo.toml' module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} commit_message : '+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}' \ No newline at end of file diff --git a/module/move/willbe/template/workflow/standard_rust_pull_request.hbs b/module/move/willbe/template/workflow/standard_rust_pull_request.hbs index 4d53fd5b93..844d1e2578 100644 --- a/module/move/willbe/template/workflow/standard_rust_pull_request.hbs +++ b/module/move/willbe/template/workflow/standard_rust_pull_request.hbs @@ -45,6 +45,6 @@ jobs : if : $\{{ needs.check.outputs.should_run == 'true' }} uses : {{username_and_repository}}/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : '' + manifest_path : './Cargo.toml' module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} commit_message : "+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}" diff --git a/module/move/willbe/template/workflow/standard_rust_scheduled.yml b/module/move/willbe/template/workflow/standard_rust_scheduled.yml index 53bdd96c7c..e39dbe1535 100644 --- a/module/move/willbe/template/workflow/standard_rust_scheduled.yml +++ b/module/move/willbe/template/workflow/standard_rust_scheduled.yml @@ -17,6 +17,6 @@ jobs : if : ${{ needs.check.outputs.should_run == 'true' }} uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : '' + manifest_path : './Cargo.toml' module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} commit_message : '+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}' \ No newline at end of file From 375f6aaa331d39c33162c6a3a1be6e9104fc989e Mon Sep 17 00:00:00 2001 From: SRetip Date: Fri, 22 Mar 2024 11:54:11 +0200 Subject: [PATCH 7/8] +test --- .../workflows/standard_rust_pull_request.yml | 2 +- .github/workflows/standard_rust_push.yml | 18 +++++++++--------- .github/workflows/standard_rust_scheduled.yml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/standard_rust_pull_request.yml b/.github/workflows/standard_rust_pull_request.yml index 65b3547bfd..3d3d679264 100644 --- a/.github/workflows/standard_rust_pull_request.yml +++ b/.github/workflows/standard_rust_pull_request.yml @@ -45,6 +45,6 @@ jobs : if : ${{ needs.check.outputs.should_run == 'true' }} uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : './Cargo.toml' + manifest_path : "./Cargo.toml" module_name : ${{ github.event.base.ref }}_${{ github.event.number }} commit_message : "+test_${{ github.event.base.ref }}_${{ github.event.number }}" diff --git a/.github/workflows/standard_rust_push.yml b/.github/workflows/standard_rust_push.yml index fde3ac9dae..386ff2ccb0 100644 --- a/.github/workflows/standard_rust_push.yml +++ b/.github/workflows/standard_rust_push.yml @@ -139,6 +139,15 @@ jobs : override : true attempt_limit : 3 attempt_delay: 10000 + - name: Set MANIFEST_ROOT_PATH + id: rootpath + shell: bash + run: | + if [[ ${{ inputs.manifest_path }} == "" || ${{ inputs.manifest_path }} == "./Cargo.toml" ]]; then + echo "path=" >> $GITHUB_ENV + else + echo "path=$(dirname ${{ inputs.manifest_path }})" >> $GITHUB_ENV + fi - name: Install latest nightly toolchain uses: Wandalen/wretry.action@master with: @@ -151,14 +160,5 @@ jobs : - uses: actions/checkout@v3 - name: Install will run: cargo install --git https://github.com/Wandalen/wTools --branch alpha willbe - - name: Set MANIFEST_ROOT_PATH - id: rootpath - shell: bash - run: | - if [[ "${{ inputs.manifest_path }}" == "" || "${{ inputs.manifest_path }}" == "./Cargo.toml" ]]; then - echo "path=" >> $GITHUB_ENV - else - echo "path=$(dirname ${{ inputs.manifest_path }})" >> $GITHUB_ENV - fi - name: Run tests with each feature run: will .test ${{ steps.rootpath.outputs.path }} dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1 \ No newline at end of file diff --git a/.github/workflows/standard_rust_scheduled.yml b/.github/workflows/standard_rust_scheduled.yml index e39dbe1535..1226bc47a9 100644 --- a/.github/workflows/standard_rust_scheduled.yml +++ b/.github/workflows/standard_rust_scheduled.yml @@ -17,6 +17,6 @@ jobs : if : ${{ needs.check.outputs.should_run == 'true' }} uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : './Cargo.toml' + manifest_path : "./Cargo.toml" module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} commit_message : '+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}' \ No newline at end of file From cc1398186e05a82cc3c8c61272c81d6106954ab1 Mon Sep 17 00:00:00 2001 From: SRetip Date: Fri, 22 Mar 2024 13:11:30 +0200 Subject: [PATCH 8/8] +test --- .github/workflows/standard_rust_pull_request.yml | 2 +- .github/workflows/standard_rust_push.yml | 14 ++++---------- .github/workflows/standard_rust_scheduled.yml | 2 +- .../template/workflow/standard_rust_push.yml | 10 ++-------- 4 files changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/standard_rust_pull_request.yml b/.github/workflows/standard_rust_pull_request.yml index 3d3d679264..65b3547bfd 100644 --- a/.github/workflows/standard_rust_pull_request.yml +++ b/.github/workflows/standard_rust_pull_request.yml @@ -45,6 +45,6 @@ jobs : if : ${{ needs.check.outputs.should_run == 'true' }} uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : "./Cargo.toml" + manifest_path : './Cargo.toml' module_name : ${{ github.event.base.ref }}_${{ github.event.number }} commit_message : "+test_${{ github.event.base.ref }}_${{ github.event.number }}" diff --git a/.github/workflows/standard_rust_push.yml b/.github/workflows/standard_rust_push.yml index 386ff2ccb0..138307ad81 100644 --- a/.github/workflows/standard_rust_push.yml +++ b/.github/workflows/standard_rust_push.yml @@ -139,15 +139,6 @@ jobs : override : true attempt_limit : 3 attempt_delay: 10000 - - name: Set MANIFEST_ROOT_PATH - id: rootpath - shell: bash - run: | - if [[ ${{ inputs.manifest_path }} == "" || ${{ inputs.manifest_path }} == "./Cargo.toml" ]]; then - echo "path=" >> $GITHUB_ENV - else - echo "path=$(dirname ${{ inputs.manifest_path }})" >> $GITHUB_ENV - fi - name: Install latest nightly toolchain uses: Wandalen/wretry.action@master with: @@ -160,5 +151,8 @@ jobs : - uses: actions/checkout@v3 - name: Install will run: cargo install --git https://github.com/Wandalen/wTools --branch alpha willbe + - name: Set MANIFEST_ROOT_PATH + id: rootpath + run: echo "::set-output name=path::$(dirname ${{ inputs.manifest_path }})" - name: Run tests with each feature - run: will .test ${{ steps.rootpath.outputs.path }} dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1 \ No newline at end of file + run: will .test ${{ steps.rootpath.outputs.path }}/ dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1 \ No newline at end of file diff --git a/.github/workflows/standard_rust_scheduled.yml b/.github/workflows/standard_rust_scheduled.yml index 1226bc47a9..e39dbe1535 100644 --- a/.github/workflows/standard_rust_scheduled.yml +++ b/.github/workflows/standard_rust_scheduled.yml @@ -17,6 +17,6 @@ jobs : if : ${{ needs.check.outputs.should_run == 'true' }} uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha with : - manifest_path : "./Cargo.toml" + manifest_path : './Cargo.toml' module_name : $\{{ github.event.base.ref }}_$\{{ github.event.number }} commit_message : '+test_$\{{ github.event.base.ref }}_$\{{ github.event.number }}' \ No newline at end of file diff --git a/module/move/willbe/template/workflow/standard_rust_push.yml b/module/move/willbe/template/workflow/standard_rust_push.yml index fde3ac9dae..138307ad81 100644 --- a/module/move/willbe/template/workflow/standard_rust_push.yml +++ b/module/move/willbe/template/workflow/standard_rust_push.yml @@ -153,12 +153,6 @@ jobs : run: cargo install --git https://github.com/Wandalen/wTools --branch alpha willbe - name: Set MANIFEST_ROOT_PATH id: rootpath - shell: bash - run: | - if [[ "${{ inputs.manifest_path }}" == "" || "${{ inputs.manifest_path }}" == "./Cargo.toml" ]]; then - echo "path=" >> $GITHUB_ENV - else - echo "path=$(dirname ${{ inputs.manifest_path }})" >> $GITHUB_ENV - fi + run: echo "::set-output name=path::$(dirname ${{ inputs.manifest_path }})" - name: Run tests with each feature - run: will .test ${{ steps.rootpath.outputs.path }} dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1 \ No newline at end of file + run: will .test ${{ steps.rootpath.outputs.path }}/ dry:0 exclude:'' with_all_features:1 with_debug:1 with_nightly:1 with_none_features:1 with_release:1 with_stable:1 \ No newline at end of file