diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc8bb47cb..4c01230ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,9 +46,7 @@ jobs: path: ~/.cargo key: ${{ matrix.platform.target }}-cargo-stable - - uses: dtolnay/rust-toolchain@1.77 - with: - targets: ${{ matrix.platform.target }} + - uses: dtolnay/rust-toolchain@stable - name: Install Gtk (ubuntu only) if: matrix.platform.os == 'ubuntu-latest' @@ -64,6 +62,10 @@ jobs: if: contains(matrix.platform.target, 'android') run: cargo install cargo-apk + - uses: dtolnay/rust-toolchain@1.77 + with: + targets: ${{ matrix.platform.target }} + - name: Check documentation shell: bash run: cargo $CMD doc --no-deps --target ${{ matrix.platform.target }} $OPTIONS --features $FEATURES