diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7f73aed6..3c9d77b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,9 +17,10 @@ jobs: uses: actions/checkout@v3 - name: Install stable toolchain - run: | - rustup toolchain install 1.70 --profile default --no-self-update - rustup component add clippy --toolchain 1.70 + # This uses the version specified in rust-toolchain.toml by default + uses: IronCoreLabs/rust-toolchain@v1 + with: + components: clippy, rust-docs - name: Install nightly toolchain (for rustfmt only) run: rustup toolchain install nightly --profile minimal --component rustfmt