From 5d0607b35812438bb8dcf2a6bbd95149e285bf17 Mon Sep 17 00:00:00 2001 From: kayagokalp Date: Tue, 4 Jul 2023 16:07:50 -0700 Subject: [PATCH] fix-ci: move from unmaintained `actions-rs` to a maintained alternative Summary: Unfortunately `actions-rs` is [unmaintained](https://github.com/actions-rs/toolchain/issues/216) and I am trying to advocate a move from actions-rs to its maintained alternative such as https://github.com/dtolnay/rust-toolchain across the community. X-link: https://github.com/facebook/hhvm/pull/9369 Reviewed By: dtolnay Differential Revision: D46326694 Pulled By: dtolnay fbshipit-source-id: 2f08553539fba083e5ec90662328d69b78e19b44 --- build/fbcode_builder/getdeps.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build/fbcode_builder/getdeps.py b/build/fbcode_builder/getdeps.py index 31a9c2f5644..565ef99135e 100755 --- a/build/fbcode_builder/getdeps.py +++ b/build/fbcode_builder/getdeps.py @@ -1043,11 +1043,7 @@ def write_job_for_platform(self, platform, args): # noqa: C901 if m != manifest: if m.name == "rust": out.write(" - name: Install Rust Stable\n") - out.write(" uses: actions-rs/toolchain@v1\n") - out.write(" with:\n") - out.write(" toolchain: stable\n") - out.write(" default: true\n") - out.write(" profile: minimal\n") + out.write(" uses: dtolnay/rust-toolchain@stable\n") else: ctx = loader.ctx_gen.get_context(m.name) if m.get_repo_url(ctx) != main_repo_url: