diff --git a/.github/actions/elasticjob-controller-test/action.yml b/.github/actions/elasticjob-controller-test/action.yml index d7222355d..c3adebe0c 100644 --- a/.github/actions/elasticjob-controller-test/action.yml +++ b/.github/actions/elasticjob-controller-test/action.yml @@ -7,4 +7,8 @@ runs: args: - "/bin/bash" - "-c" - - "cd go/elasticjob && go test ./..." + - "rm -rf /usr/local/go && \ +wget -q https://go.dev/dl/go1.23.4.linux-amd64.tar.gz && \ +tar -C /usr/local -xzf go1.23.4.linux-amd64.tar.gz && \ +go install github.com/onsi/ginkgo/v2/ginkgo@v2.22.2 && \ +cd go/elasticjob && go test ./..." diff --git a/.github/actions/go-master-test/action.yml b/.github/actions/go-master-test/action.yml index da1c4890d..7e41dbe79 100644 --- a/.github/actions/go-master-test/action.yml +++ b/.github/actions/go-master-test/action.yml @@ -7,4 +7,5 @@ runs: args: - "/bin/bash" - "-c" - - "cd go/master && ginkgo -v ./..." + - "go install github.com/onsi/ginkgo/v2/ginkgo@v2.22.2 && \ + cd go/master && ginkgo -v ./..."