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

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


The following commit(s) were added to refs/heads/lazy-reader by this push:
     new 9e23d28fd Update workflow
9e23d28fd is described below

commit 9e23d28fd45b134a6795c405bc569569d55d4044
Author: Xuanwo <[email protected]>
AuthorDate: Fri Oct 27 08:30:18 2023 +0800

    Update workflow
    
    Signed-off-by: Xuanwo <[email protected]>
---
 .github/workflows/ci.yml | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2f00b6fdc..134d759e7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -63,6 +63,7 @@ jobs:
         with:
           need-rocksdb: true
           need-protoc: true
+          github-token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Checkout python env
         uses: actions/setup-python@v4
@@ -91,6 +92,7 @@ jobs:
         with:
           need-rocksdb: true
           need-protoc: true
+          github-token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Checkout python env
         uses: actions/setup-python@v4
@@ -140,6 +142,8 @@ jobs:
       - uses: actions/checkout@v4
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
+        with:
+          github-token: ${{ secrets.GITHUB_TOKEN }}
       - name: Build
         run: cargo build -p opendal -p oli -p object_store_opendal
 
@@ -162,6 +166,7 @@ jobs:
         with:
           need-rocksdb: true
           need-protoc: true
+          github-token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Build
         run: cargo build --all-features
@@ -190,12 +195,8 @@ jobs:
         uses: ./.github/actions/setup
         with:
           need-rocksdb: true
-
-      - name: Install Protoc
-        uses: arduino/setup-protoc@v2
-        with:
-          version: "23.4"
-          repo-token: ${{ secrets.GITHUB_TOKEN }}
+          need-protoc: true
+          github-token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Build
         shell: bash
@@ -267,6 +268,7 @@ jobs:
         uses: ./.github/actions/setup
         with:
           need-nextest: true
+
       - name: Test
         run: cargo nextest run --no-fail-fast --features layers-all && cargo 
test --doc
         env:

Reply via email to