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/17 15:09:32 UTC

[incubator-opendal] branch main updated: ci: Bring our actions back (#1668)

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 7166d873 ci: Bring our actions back (#1668)
7166d873 is described below

commit 7166d873a0a1d3a502f17116777d81271532e1f5
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Fri Mar 17 23:09:26 2023 +0800

    ci: Bring our actions back (#1668)
    
    * ci: Bring our actions back
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
    
    * use action instead
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
    
    * Remove preview until we have better solution
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
    
    * try again
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
    
    * Allow write pr
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
    
    * Remove permission
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
    
    * Remove preview
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
    
    ---------
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 .github/workflows/bindings_python.yml |  3 ++-
 .github/workflows/ci.yml              |  2 +-
 .github/workflows/docs.yml            | 14 --------------
 3 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/bindings_python.yml b/.github/workflows/bindings_python.yml
index c75197fb..4ad8f744 100644
--- a/.github/workflows/bindings_python.yml
+++ b/.github/workflows/bindings_python.yml
@@ -46,7 +46,8 @@ jobs:
       - uses: actions/setup-python@v4
         with:
           python-version: '3.11'
-      - uses: Swatinem/rust-cache@v2
+      - name: Setup Rust toolchain
+        uses: ./.github/actions/setup
       - name: Build with maturin
         working-directory: "bindings/python"
         run: |
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cae1e0a4..6356247d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -62,7 +62,7 @@ jobs:
         uses: ./.github/actions/setup
 
       - name: Check license headers
-        run: docker run --rm -v $(pwd):/github/workspace -u $(id -u):$(id -g) ghcr.io/korandoru/hawkeye-native:v1 check
+        uses: korandoru/hawkeye@v1
 
       - name: Cargo format
         run: cargo fmt --all -- --check
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index e8063c12..6c524763 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -106,17 +106,3 @@ jobs:
           github_token: ${{ secrets.GITHUB_TOKEN }}
           publish_dir: website/build
           publish_branch: gh-pages
-
-      # Disable until we are allowed
-      # - name: Deploy to vercel (preview)
-      #   if: github.repository_owner == 'datafuselabs' && github.ref_name != 'main'
-      #   uses: amondnet/vercel-action@v25.1.1
-      #   with:
-      #     vercel-token: ${{ secrets.VERCEL_TOKEN }}
-      #     github-token: ${{ secrets.GITHUB_TOKEN }}
-      #     vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
-      #     vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
-      #     alias-domains: |
-      #       opendal-git-{{BRANCH}}.vercel.app
-      #     scope: databend
-      #     working-directory: ./website/build