diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 25d7563..839c7c2 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - name: Install stable - uses: dtolnay/rust-toolchain@stable + uses: actions-rust-lang/setup-rust-toolchain@v1 with: components: rustfmt @@ -43,9 +43,8 @@ jobs: - uses: actions/checkout@v4 - name: Install ${{ matrix.toolchain }} - uses: dtolnay/rust-toolchain@master + uses: actions-rust-lang/setup-rust-toolchain@v1 with: - toolchain: ${{ matrix.toolchain }} components: clippy - name: cargo clippy @@ -60,16 +59,17 @@ jobs: steps: - name: Setup | Checkout uses: actions/checkout@v4 + with: + submodules: true - name: Setup | Rust nightly - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: nightly + uses: dtolnay/rust-toolchain@nightly + + - name: Setup | cargo-docs-rs + uses: dtolnay/install@cargo-docs-rs - - name: Run | Cargo doc - run: cargo doc --no-deps --all-features - env: - RUSTDOCFLAGS: --cfg docsrs + - name: cargo docs-rs + run: cargo docs-rs build: name: Build binaries @@ -95,10 +95,9 @@ jobs: uses: actions/checkout@v4 - name: Setup | Rust - uses: dtolnay/rust-toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: - toolchain: stable - targets: ${{matrix.target}} + target: ${{matrix.target}} - name: Setup | Install cross [Linux] if: matrix.os == 'ubuntu-latest' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0860624..47b4f39 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,9 +33,8 @@ jobs: uses: actions/checkout@v4 - name: Setup | Rust - uses: dtolnay/rust-toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@v1 with: - toolchain: stable targets: ${{matrix.target}} - name: Setup | Install cross [Linux] @@ -102,7 +101,7 @@ jobs: uses: actions/checkout@v4 - name: Setup | Rust - uses: dtolnay/rust-toolchain@stable + uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Setup | Nix uses: cachix/install-nix-action@V27