summary refs log tree commit diff
path: root/.github/workflows/twisted_trunk.yml
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-11-02 23:19:57 +0000
committerGitHub <noreply@github.com>2022-11-02 23:19:57 +0000
commite5cd278f3f6e9fa3008addc064841e6448f18bbd (patch)
treee2713cef3dae5ef4e488dcf29c0f518e9c03b30f /.github/workflows/twisted_trunk.yml
parentFix issue automation for Needs-Info (#14343) (diff)
downloadsynapse-e5cd278f3f6e9fa3008addc064841e6448f18bbd.tar.xz
Use maintained action to install Rust in latest deps/twisted trunk jobs (#14351)
* Use maintained action to install Rust

Part of #14203. Like the changes in #14313.

* Changelog
Diffstat (limited to '.github/workflows/twisted_trunk.yml')
-rw-r--r--.github/workflows/twisted_trunk.yml15
1 files changed, 6 insertions, 9 deletions
diff --git a/.github/workflows/twisted_trunk.yml b/.github/workflows/twisted_trunk.yml
index f592e632c1..6a047193f6 100644
--- a/.github/workflows/twisted_trunk.yml
+++ b/.github/workflows/twisted_trunk.yml
@@ -18,10 +18,9 @@ jobs:
       - uses: actions/checkout@v3
 
       - name: Install Rust
-        uses: actions-rs/toolchain@v1
+        uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
         with:
-            toolchain: stable
-            override: true
+          toolchain: stable
       - uses: Swatinem/rust-cache@v2
 
       - uses: matrix-org/setup-python-poetry@v1
@@ -44,10 +43,9 @@ jobs:
       - run: sudo apt-get -qq install xmlsec1
 
       - name: Install Rust
-        uses: actions-rs/toolchain@v1
+        uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
         with:
-            toolchain: stable
-            override: true
+          toolchain: stable
       - uses: Swatinem/rust-cache@v2
 
       - uses: matrix-org/setup-python-poetry@v1
@@ -84,10 +82,9 @@ jobs:
       - uses: actions/checkout@v3
 
       - name: Install Rust
-        uses: actions-rs/toolchain@v1
+        uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
         with:
-            toolchain: stable
-            override: true
+          toolchain: stable
       - uses: Swatinem/rust-cache@v2
 
       - name: Patch dependencies