From 64a713b012e5bf9ffaf676cb5d490b5c7aa874de Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Tue, 20 Jan 2026 16:02:18 -0700 Subject: [PATCH 1/3] minimal-versions: replace workspace Cargo.toml instead of deleting Generates a stub Cargo.toml at the workspace level which configures a workspace with one member whose path is the current working directory --- .github/workflows/minimal-versions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/minimal-versions.yml b/.github/workflows/minimal-versions.yml index 4f12389..a0edc9b 100644 --- a/.github/workflows/minimal-versions.yml +++ b/.github/workflows/minimal-versions.yml @@ -46,7 +46,8 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ inputs.nightly }} - - run: rm ../Cargo.toml + # Use a stub Cargo.toml at the workspace-level which still allows workspace-level configs to function + - run: echo "[workspace]\nmembers=[\"$(pwd)"]" >> ../Cargo.toml - run: cargo update -Z minimal-versions - run: ${{ inputs.nightly-cmd }} # Perform tests From a1ceb2c2e14e76e9613c6ddf6ca520c006883efd Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Tue, 20 Jan 2026 17:40:23 -0700 Subject: [PATCH 2/3] disable yamllint line length lint --- .yamllint.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .yamllint.yaml diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 0000000..288670b --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,2 @@ +rules: + line-length: disable From dbf4554f01b750e7dd90aa5ce19a940c59aa9ebb Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Tue, 20 Jan 2026 17:41:05 -0700 Subject: [PATCH 3/3] Update .github/workflows/minimal-versions.yml --- .github/workflows/minimal-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/minimal-versions.yml b/.github/workflows/minimal-versions.yml index a0edc9b..70e65ac 100644 --- a/.github/workflows/minimal-versions.yml +++ b/.github/workflows/minimal-versions.yml @@ -47,7 +47,7 @@ jobs: with: toolchain: ${{ inputs.nightly }} # Use a stub Cargo.toml at the workspace-level which still allows workspace-level configs to function - - run: echo "[workspace]\nmembers=[\"$(pwd)"]" >> ../Cargo.toml + - run: printf "[workspace]\nmembers=[\"%q\"]" $(pwd) >> ../Cargo.toml - run: cargo update -Z minimal-versions - run: ${{ inputs.nightly-cmd }} # Perform tests