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

yuchanns pushed a commit to branch dev-for-go-binding
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit ccc4864a9ba0b098aa2714a0bdf5aa55d851f4e5
Author: Hanchin Hsieh <[email protected]>
AuthorDate: Mon Oct 14 14:42:13 2024 +0800

    ci(bindings/go): remove preset go workspace
    
    Signed-off-by: Hanchin Hsieh <[email protected]>
---
 .github/workflows/ci_bindings_go.yml | 3 +++
 bindings/go/tests/go.work            | 6 ------
 bindings/go/tests/go.work.sum        | 2 --
 3 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/ci_bindings_go.yml 
b/.github/workflows/ci_bindings_go.yml
index 5ffd5dca56..e4c4df7365 100644
--- a/.github/workflows/ci_bindings_go.yml
+++ b/.github/workflows/ci_bindings_go.yml
@@ -123,6 +123,9 @@ jobs:
           SERVICE: ${{ matrix.service }}
         working-directory: bindings/go/tests
         run: |
+          go work init
+          go work use ..
+          go work use ./behavior_tests
           go work use $GITHUB_WORKSPACE/$(echo $SERVICE | sed 's/-/_/g')
       - name: Run tests
         env:
diff --git a/bindings/go/tests/go.work b/bindings/go/tests/go.work
deleted file mode 100644
index dc66d28856..0000000000
--- a/bindings/go/tests/go.work
+++ /dev/null
@@ -1,6 +0,0 @@
-go 1.22.5
-
-use (
-       ..
-       ./behavior_tests
-)
diff --git a/bindings/go/tests/go.work.sum b/bindings/go/tests/go.work.sum
deleted file mode 100644
index 93e5f73a8e..0000000000
--- a/bindings/go/tests/go.work.sum
+++ /dev/null
@@ -1,2 +0,0 @@
-github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
-github.com/stretchr/objx v0.5.2/go.mod 
h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=

Reply via email to