From 76a78f462a50d8fde1bb2f714cf4a2d10e9f96fd Mon Sep 17 00:00:00 2001 From: daimond113 <72147841+daimond113@users.noreply.github.com> Date: Wed, 30 Oct 2024 20:01:15 +0100 Subject: [PATCH] ci: use nightly toolchain for rustfmt --- .github/workflows/test-and-lint.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-and-lint.yaml b/.github/workflows/test-and-lint.yaml index ceffbd3..ce93111 100644 --- a/.github/workflows/test-and-lint.yaml +++ b/.github/workflows/test-and-lint.yaml @@ -11,7 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable + # we use some nightly rustfmt features, so we need nightly toolchain + - uses: dtolnay/rust-toolchain@nightly with: components: clippy, rustfmt