From 1954bfda8c470f0eae15c38a5196152dcbb49205 Mon Sep 17 00:00:00 2001 From: Thales <> Date: Mon, 17 Aug 2026 23:10:51 +0100 Subject: [PATCH] windows-check.yml: use powershell, not bash bash on this self-hosted Windows runner mangles the auto-generated temp script's path (backslashes stripped), the same thing windows-release.yml's own steps already worked around by using powershell. Copied macos-check.yml's shell: bash default without adjusting for the platform - caught by this workflow's own first real run (exit 1 on cargo fmt --check, before it even reached the code). --- .github/workflows/windows-check.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/windows-check.yml b/.github/workflows/windows-check.yml index 630500e..1d352c1 100644 --- a/.github/workflows/windows-check.yml +++ b/.github/workflows/windows-check.yml @@ -25,7 +25,12 @@ jobs: timeout-minutes: 30 defaults: run: - shell: bash + # bash on this self-hosted runner mangles the auto-generated temp + # script's Windows-style path (backslashes stripped -- "No such file + # or directory" on a path that plainly exists), the way + # windows-release.yml's own steps already discovered. powershell is + # the proven shell for this runner. + shell: powershell working-directory: desktop/src-tauri steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -44,13 +49,13 @@ jobs: # findings from this workflow's first-ever run -- nothing has # type-checked this target before, so they predate this workflow # rather than being caused by it. - run: | - cargo clippy --tests -- -D warnings \ - -A clippy::derivable_impls \ - -A clippy::single_match \ - -A clippy::trim_split_whitespace \ - -A unused_variables \ - -A clippy::needless_return + run: > + cargo clippy --tests -- -D warnings + -A clippy::derivable_impls + -A clippy::single_match + -A clippy::trim_split_whitespace + -A unused_variables + -A clippy::needless_return - name: cargo test run: cargo test