From a9adfa7179bb41ed85830ac1bef795ffdfe56dba Mon Sep 17 00:00:00 2001 From: 1gtm <1gtm@appscode.com> Date: Fri, 3 Jan 2025 08:24:09 +0000 Subject: [PATCH] Update github action modules Signed-off-by: 1gtm <1gtm@appscode.com> --- .github/workflows/backport.yml | 2 +- .github/workflows/ci.yml | 24 ++++++++++++------------ .github/workflows/commands.yml | 2 +- .github/workflows/release-tracker.yml | 2 +- .github/workflows/release.yml | 10 +++++----- .github/workflows/tag.yaml | 2 +- Makefile | 2 +- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index abda3b1..5bf0612 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -22,7 +22,7 @@ jobs: if: github.event.pull_request.merged steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d50700d..6565f83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,12 +41,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: true - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} @@ -85,12 +85,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: true - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} @@ -128,7 +128,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: true @@ -136,7 +136,7 @@ jobs: run: git fetch --prune --unshallow - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} @@ -177,7 +177,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: true @@ -185,7 +185,7 @@ jobs: run: git fetch --prune --unshallow - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} @@ -220,12 +220,12 @@ jobs: steps: - name: Setup QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 with: platforms: all - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: version: ${{ env.DOCKER_BUILDX_VERSION }} install: true @@ -238,7 +238,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: true @@ -246,7 +246,7 @@ jobs: run: git fetch --prune --unshallow - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} diff --git a/.github/workflows/commands.yml b/.github/workflows/commands.yml index d300a4a..4c46797 100644 --- a/.github/workflows/commands.yml +++ b/.github/workflows/commands.yml @@ -19,7 +19,7 @@ jobs: permission-level: write - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/release-tracker.yml b/.github/workflows/release-tracker.yml index 26a2ad8..af433c2 100644 --- a/.github/workflows/release-tracker.yml +++ b/.github/workflows/release-tracker.yml @@ -27,7 +27,7 @@ jobs: needs: label-detector runs-on: "${{ needs.label-detector.outputs.runs-on }}" steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Prepare git env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 81eff77..f9431d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,18 +31,18 @@ jobs: - uses: actions/checkout@v1 - run: git checkout -b release-${GITHUB_REF_NAME} - - name: Set up Go 1.22 - uses: actions/setup-go@v1 + - name: Set up Go 1.23 + uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' id: go - name: Set up QEMU id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Prepare Host run: | diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index 96a8af7..83ab8ab 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Create Tag uses: negz/create-tag@v1 diff --git a/Makefile b/Makefile index 3bebdf7..3ce72a3 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ NPROCS ?= 1 # to half the number of CPU cores. GO_TEST_PARALLEL := $(shell echo $$(( $(NPROCS) / 2 ))) -GO_REQUIRED_VERSION ?= 1.22 +GO_REQUIRED_VERSION ?= 1.23 GOLANGCILINT_VERSION ?= 1.50.0 GO_STATIC_PACKAGES = $(GO_PROJECT)/cmd/provider $(GO_PROJECT)/cmd/generator GO_LDFLAGS += -X $(GO_PROJECT)/internal/version.Version=$(VERSION)