From 187554bbc13d01c0c5a5426d02a2891acf62cde6 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Wed, 12 Jul 2023 13:49:42 +0200 Subject: [PATCH] Remove the deprecated actions-rs (#145) --- .github/workflows/rustdoc.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rustdoc.yml b/.github/workflows/rustdoc.yml index 56a8cb24..ff5d88fc 100644 --- a/.github/workflows/rustdoc.yml +++ b/.github/workflows/rustdoc.yml @@ -15,18 +15,13 @@ jobs: uses: actions/checkout@v1 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + uses: hecrj/setup-rust-action@v1 with: - toolchain: nightly - profile: minimal - override: true + rust-version: stable components: rustfmt, rust-src - uses: Swatinem/rust-cache@v1 - name: Build Documentation - uses: actions-rs/cargo@v1 - with: - command: doc - args: --all --no-deps + run: cargo doc --all --no-deps - name: Add index.html run: echo '' > target/doc/index.html - name: Deploy Documentation