This is an automated email from the ASF dual-hosted git repository.

placave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datasketches-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new 4daf84c  ci: install rust toolchain without actions (#16)
4daf84c is described below

commit 4daf84c1a9a784a128965a206df0c25b4c9e96a2
Author: tison <[email protected]>
AuthorDate: Mon Dec 15 18:53:00 2025 +0800

    ci: install rust toolchain without actions (#16)
    
    Signed-off-by: tison <[email protected]>
---
 .github/workflows/ci.yml | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f1308e1..643e96e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -43,9 +43,7 @@ jobs:
       - name: Delete rust-toolchain.toml
         run: rm rust-toolchain.toml
       - name: Install toolchain
-        uses: dtolnay/rust-toolchain@nightly
-        with:
-          components: rustfmt,clippy
+        run: rustup toolchain install --component rustfmt,clippy nightly
       - uses: Swatinem/rust-cache@v2
       - uses: taiki-e/install-action@v2
         with:
@@ -85,9 +83,9 @@ jobs:
         run: rm rust-toolchain.toml
       - uses: Swatinem/rust-cache@v2
       - name: Install toolchain
-        uses: dtolnay/rust-toolchain@master
-        with:
-          toolchain: ${{ matrix.rust-version }}
+        run: |
+          rustup toolchain install ${{ matrix.rust-version }}
+          rustup default ${{ matrix.rust-version }}
       - name: Build
         run: cargo build --workspace --all-features --bins --tests --examples 
--benches --lib
       - name: Run unit tests


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to