diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 072f4ace..b67a3fd9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,12 +19,12 @@ jobs: - uses: actions/checkout@v3 - name: Stable - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable components: clippy - - uses: Swatinem/rust-cache@v2.0.0 + + - uses: Swatinem/rust-cache@v2.5.0 - name: "Build" run: cargo build @@ -49,9 +49,8 @@ jobs: - uses: actions/checkout@v3 - name: Nightly with rustfmt - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: nightly components: rustfmt