diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index a849cc96f..4fe3d9eb4 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -15,10 +15,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - name: Install cargo make run: cargo install cargo-make - name: cargo make - doc diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7a4c33576..752e5985e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,12 +26,10 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install minimal Rust with rustfmt - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: nightly components: rustfmt - override: true - name: Install cargo make run: cargo install cargo-make - name: cargo make - format-check @@ -43,11 +41,10 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install minimal Rust with clippy - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: - profile: minimal + toolchain: stable components: clippy - override: true - name: Install cargo make run: cargo install cargo-make - name: cargo make - clippy diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd2778950..625bd9487 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,10 +16,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - name: Install cargo make run: cargo install cargo-make - name: cargo make - test