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

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 202ec705 ci: Download nextest instead of installing it (#1645)
202ec705 is described below

commit 202ec705c744914d6312716fb8be2fa36096c23d
Author: Xuanwo <[email protected]>
AuthorDate: Thu Mar 16 17:44:51 2023 +0800

    ci: Download nextest instead of installing it (#1645)
    
    * ci: Download nextest instead of installing it
    
    Signed-off-by: Xuanwo <[email protected]>
    
    * download typos too
    
    Signed-off-by: Xuanwo <[email protected]>
    
    ---------
    
    Signed-off-by: Xuanwo <[email protected]>
---
 .github/workflows/ci.yml    | 2 +-
 .github/workflows/typos.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ddeeb60f..4be8fe0d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -155,7 +155,7 @@ jobs:
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
       - name: Install cargo-nextest
-        run: cargo install cargo-nextest --locked
+        run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C 
${CARGO_HOME:-~/.cargo}/bin
       - name: Test
         run: cargo nextest run --no-fail-fast --features layers-all && cargo 
test --doc
         env:
diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml
index 14a838b1..9a2e1925 100644
--- a/.github/workflows/typos.yml
+++ b/.github/workflows/typos.yml
@@ -46,7 +46,7 @@ jobs:
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
 
-      - run: cargo install typos-cli --locked
+      - run: curl -LsSf 
https://github.com/crate-ci/typos/releases/download/v1.13.24/typos-v1.13.24-x86_64-unknown-linux-musl.tar.gz
 | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
 
       - name: do typos check with typos-cli
         run: typos

Reply via email to