You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/03/16 09:44:56 UTC

[incubator-opendal] branch main updated: ci: Download nextest instead of installing it (#1645)

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 <gi...@xuanwo.io>
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 <gi...@xuanwo.io>
    
    * download typos too
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
    
    ---------
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 .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