From 2d238d1e9abc76712a128abeff817eafc8550933 Mon Sep 17 00:00:00 2001 From: wackxu Date: Thu, 10 Nov 2022 10:02:02 +0800 Subject: revert ginkgo to v1 Signed-off-by: wackxu --- .github/workflows/main.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.github') diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e5d842c5f..92874870c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -19,7 +19,7 @@ on: env: CONTAINER_RUN_OPTIONS: " " - GINKGO_VERSION: "v2.1.4" + GINKGO_VERSION: "v1.16.4" jobs: lint: @@ -129,7 +129,7 @@ jobs: - name: Install dependences run: | - command -v ginkgo || go install github.com/onsi/ginkgo/v2/ginkgo@${{ env.GINKGO_VERSION }} + command -v ginkgo || go install github.com/onsi/ginkgo/ginkgo@${{ env.GINKGO_VERSION }} - name: Checkout code uses: actions/checkout@v3 @@ -181,7 +181,7 @@ jobs: - name: Install dependences run: | - command -v ginkgo || go install github.com/onsi/ginkgo/v2/ginkgo@${{ env.GINKGO_VERSION }} + command -v ginkgo || go install github.com/onsi/ginkgo/ginkgo@${{ env.GINKGO_VERSION }} go install sigs.k8s.io/kind@v0.11.1 curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.22.6/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl @@ -240,7 +240,7 @@ jobs: - name: Install dependences run: | - command -v ginkgo || go install github.com/onsi/ginkgo/v2/ginkgo@${{ env.GINKGO_VERSION }} + command -v ginkgo || go install github.com/onsi/ginkgo/ginkgo@${{ env.GINKGO_VERSION }} go install sigs.k8s.io/kind@v0.11.1 curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.22.6/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl @@ -280,7 +280,7 @@ jobs: - name: Install dependences run: | - command -v ginkgo || go install github.com/onsi/ginkgo/v2/ginkgo@${{ env.GINKGO_VERSION }} + command -v ginkgo || go install github.com/onsi/ginkgo/ginkgo@${{ env.GINKGO_VERSION }} go install sigs.k8s.io/kind@v0.11.1 curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.22.6/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl -- cgit v1.2.3