From 3ae92c2ee065855056fb2c925e3f82d816b0c742 Mon Sep 17 00:00:00 2001 From: Christian Kadner Date: Mon, 5 Feb 2024 16:19:06 -0800 Subject: [PATCH] chore: update GitHub actions Signed-off-by: Christian Kadner --- .github/workflows/build.yml | 12 ++++++------ .github/workflows/codeql.yml | 8 ++++---- .github/workflows/fvt-base.yml | 12 ++++++------ .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- scripts/deploy/iks/test-fvt.sh | 4 ++-- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ef40e62..49e1cbd7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,19 +43,19 @@ jobs: - 5000:5000 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: driver-opts: network=host - name: Login to DockerHub if: github.event_name != 'pull_request' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_ACCESS_TOKEN }} @@ -117,7 +117,7 @@ jobs: cat "$GITHUB_ENV" - name: Build and push developer image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 if: env.DEV_IMAGE_EXISTS == 'false' with: platforms: linux/amd64 @@ -140,7 +140,7 @@ jobs: run: ./scripts/develop.sh make test - name: Build and push controller image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x context: . diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6fc5f4ec..67cc2ec4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,11 +46,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -64,7 +64,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -77,6 +77,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/fvt-base.yml b/.github/workflows/fvt-base.yml index 8c20711a..209e9ff9 100644 --- a/.github/workflows/fvt-base.yml +++ b/.github/workflows/fvt-base.yml @@ -33,18 +33,18 @@ jobs: df -h - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.21' - name: Start Minikube - uses: medyagh/setup-minikube@v0.0.13 + uses: medyagh/setup-minikube@v0.0.14 id: minikube with: - minikube-version: 1.31.0 + minikube-version: 1.32.0 container-runtime: docker kubernetes-version: v1.26.1 cpus: max @@ -80,7 +80,7 @@ jobs: echo -e '\n disabled: true' >> config/runtimes/torchserve-0.x.yaml - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build Controller image env: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d8e384a9..33d7a93c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,10 +17,10 @@ jobs: DOCKER_BUILDKIT: 1 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build develop image run: make build.develop diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54ee397b..26fdf2a3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,10 +21,10 @@ jobs: DOCKER_BUILDKIT: 1 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build developer image run: make build.develop diff --git a/scripts/deploy/iks/test-fvt.sh b/scripts/deploy/iks/test-fvt.sh index 4b7e84b3..2f14b1ed 100644 --- a/scripts/deploy/iks/test-fvt.sh +++ b/scripts/deploy/iks/test-fvt.sh @@ -39,8 +39,8 @@ run_fvt() { export KUBECONFIG=~/.kube/config rm -rf /usr/local/go - wget https://go.dev/dl/go1.20.4.linux-amd64.tar.gz - tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz + wget https://go.dev/dl/go1.21.6.linux-amd64.tar.gz + tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz go install github.com/onsi/ginkgo/v2/ginkgo export PATH=/root/go/bin/:$PATH