summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-03-03 14:26:14 +0000
committerGitHub <noreply@github.com>2023-03-03 14:26:14 +0000
commit242d2a27ce18e682106854f5280566f4ced98c34 (patch)
tree1067d5fd9aae684370d5d8433e9e0f8f174cb688 /.github
parentFix ICU tests on alpine / macOS. (#15177) (diff)
downloadsynapse-242d2a27ce18e682106854f5280566f4ced98c34.tar.xz
Use nightly rustfmt in CI (#15188)
As we use some nightly only options, e.g. to group and sort imports
consistently.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 48a33c2f49..806bd2bfa4 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -156,7 +156,8 @@ jobs:
         # We pin to a specific commit for paranoia's sake.
         uses: dtolnay/rust-toolchain@e12eda571dc9a5ee5d58eecf4738ec291c66f295
         with:
-          toolchain: 1.58.1
+          # We use nightly so that it correctly groups together imports
+          toolchain: nightly-2022-12-01
           components: rustfmt
       - uses: Swatinem/rust-cache@v2