From 09694cf700c1e668c0aa21676b89971c5322f80d Mon Sep 17 00:00:00 2001 From: Mostyn Bramley-Moore Date: Fri, 3 Jan 2025 16:01:23 +0100 Subject: [PATCH] Upgrade to go 1.23.4 --- .bazelci/buildkite-install-go.sh | 2 +- .github/workflows/golangci-lint.yml | 2 +- MODULE.bazel | 2 +- patches/gozstd.patch | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.bazelci/buildkite-install-go.sh b/.bazelci/buildkite-install-go.sh index 174be9c14..dfeac6ac9 100755 --- a/.bazelci/buildkite-install-go.sh +++ b/.bazelci/buildkite-install-go.sh @@ -2,7 +2,7 @@ set -euo pipefail -pkg=go1.23.0.linux-amd64.tar.gz +pkg=go1.23.4.linux-amd64.tar.gz wget -o "$HOME/$pkg" "https://golang.org/dl/$pkg" 1>&2 tar -xv -C "$HOME" -f "$pkg" 1>&2 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index c6eff1771..63971abd8 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '1.23.0' + go-version: '1.23.4' - uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/MODULE.bazel b/MODULE.bazel index 43ef89606..3e2851456 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -26,7 +26,7 @@ use_repo(oci, "cgo_arm64_base") # Download an SDK for the host OS & architecture as well as common remote execution platforms. go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") -go_sdk.download(version = "1.23.0") +go_sdk.download(version = "1.23.4") go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") go_deps.from_file(go_mod = "//:go.mod") diff --git a/patches/gozstd.patch b/patches/gozstd.patch index 96fa2532f..9ff5dc525 100644 --- a/patches/gozstd.patch +++ b/patches/gozstd.patch @@ -95,7 +95,7 @@ index 0000000..150b214 + +# Download an SDK for the host OS & architecture as well as common remote execution platforms. +go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") -+go_sdk.download(version = "1.23.0") ++go_sdk.download(version = "1.23.4") + +go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") +go_deps.from_file(go_mod = "//:go.mod")