From c7f0bd52f565d71be10cd494850fe5aab3d7cb5a Mon Sep 17 00:00:00 2001 From: Steve Nguyen Date: Mon, 18 Mar 2024 13:33:23 +0000 Subject: [PATCH] Update rust.yml rust nightly --- .github/workflows/rust.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 32cff37..00c72ea 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,6 +12,17 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Setup Rust Toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + + - name: Toolchain in nightly mode + run: | + rustup component add rustfmt --toolchain nightly + rustup component add clippy --toolchain nightly + - name: Check run: | cargo check --all --tests