From 489814bb89ddda94f74c877513bc8b8edb3a72d9 Mon Sep 17 00:00:00 2001 From: Niladri Halder Date: Tue, 21 Nov 2023 15:25:23 +0530 Subject: [PATCH] ci: update go version and minikube versions Signed-off-by: Niladri Halder --- .github/workflows/build.yml | 19 +++++++++++-------- .github/workflows/pull_request.yml | 8 ++++---- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1548d598a..c1f1497e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,22 +64,25 @@ jobs: strategy: fail-fast: false matrix: - kubernetes: [v1.20.1] + kubernetes: [v1.25.16] steps: - name: Checkout uses: actions/checkout@v2.3.4 - - name: Set up Go 1.16.5 - uses: actions/setup-go@v2 + - name: Set up Go 1.19.13 + uses: actions/setup-go@v4 with: - go-version: 1.16.5 + go-version: 1.19.13 - name: Setup Minikube-Kubernetes - uses: manusa/actions-setup-minikube@v2.3.0 + uses: medyagh/setup-minikube@latest with: - minikube version: v1.16.0 - kubernetes version: ${{ matrix.kubernetes }} - github token: ${{ secrets.GITHUB_TOKEN }} + cache: false + minikube-version: 1.31.1 + driver: none + kubernetes-version: ${{ matrix.kubernetes }} + cni: calico + start-args: '--install-addons=false' - name: Set tag run: | diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index e570a2bf7..9555bf420 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -61,15 +61,15 @@ jobs: strategy: fail-fast: false matrix: - kubernetes: [v1.20.1] + kubernetes: [v1.25.16] steps: - name: Checkout uses: actions/checkout@v2.3.4 - - name: Set up Go 1.16 - uses: actions/setup-go@v2 + - name: Set up Go 1.19.13 + uses: actions/setup-go@v4 with: - go-version: 1.16.5 + go-version: 1.19.13 - name: Setup Minikube-Kubernetes uses: manusa/actions-setup-minikube@v2.3.0