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