mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-02 02:24:56 -05:00
dependencies: bump Go to v1.23.5 (#3599)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
40754753a2
commit
53e937522f
2
.github/workflows/build-ccm-gcp.yml
vendored
2
.github/workflows/build-ccm-gcp.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
- name: Setup Go environment
|
||||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
|
||||
with:
|
||||
go-version: "1.23.2"
|
||||
go-version: "1.23.5"
|
||||
cache: false
|
||||
|
||||
- name: Install Crane
|
||||
|
@ -67,7 +67,7 @@ jobs:
|
||||
- name: Setup Go environment
|
||||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
|
||||
with:
|
||||
go-version: "1.23.2"
|
||||
go-version: "1.23.5"
|
||||
cache: false
|
||||
|
||||
- name: Determine version
|
||||
|
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
||||
if: matrix.language == 'go'
|
||||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
|
||||
with:
|
||||
go-version: "1.23.2"
|
||||
go-version: "1.23.5"
|
||||
cache: false
|
||||
|
||||
- name: Initialize CodeQL
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -257,7 +257,7 @@ jobs:
|
||||
- name: Setup Go environment
|
||||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
|
||||
with:
|
||||
go-version: "1.23.2"
|
||||
go-version: "1.23.5"
|
||||
cache: true
|
||||
|
||||
- name: Build generateMeasurements tool
|
||||
|
2
.github/workflows/test-operator-codegen.yml
vendored
2
.github/workflows/test-operator-codegen.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
- name: Setup Go environment
|
||||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
|
||||
with:
|
||||
go-version: "1.23.2"
|
||||
go-version: "1.23.5"
|
||||
cache: true
|
||||
|
||||
- name: Run code generation
|
||||
|
2
3rdparty/gcp-guest-agent/Dockerfile
vendored
2
3rdparty/gcp-guest-agent/Dockerfile
vendored
@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \
|
||||
git
|
||||
|
||||
# Install Go
|
||||
ARG GO_VER=1.22.3
|
||||
ARG GO_VER=1.23.5
|
||||
RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \
|
||||
tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \
|
||||
rm go${GO_VER}.linux-amd64.tar.gz
|
||||
|
@ -22,7 +22,7 @@ go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
|
||||
go_sdk.download(
|
||||
name = "go_sdk",
|
||||
patches = ["//3rdparty/bazel/org_golang:go_tls_max_handshake_size.patch"],
|
||||
version = "1.23.2",
|
||||
version = "1.23.5",
|
||||
)
|
||||
|
||||
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
|
||||
|
@ -17,7 +17,7 @@ go_sdk.download(
|
||||
|
||||
```
|
||||
|
||||
Replace `go-version: "1.xx.x"` with the new version in all GitHub actions and workflows.
|
||||
Replace `go-version: "1.xx.x"` with the new version in all GitHub actions/workflows, our go.mod files and Containerfiles.
|
||||
You can use the following command to find replace all instances of `go-version: "1.xx.x"` in the `.github` directory:
|
||||
|
||||
```bash
|
||||
@ -25,7 +25,9 @@ OLD_VERSION="1.xx.x"
|
||||
NEW_VERSION="1.xx.y"
|
||||
find .github -type f -exec sed -i "s/go-version: \"${OLD_VERSION}\"/go-version: \"${NEW_VERSION}\"/g" {} \;
|
||||
sed -i "s/go ${OLD_VERSION}/go ${NEW_VERSION}/g" go.mod
|
||||
sed -i "s/go ${OLD_VERSION}/go ${NEW_VERSION}/g" hack/tools/go.mod
|
||||
sed -i "s/${OLD_VERSION}/${NEW_VERSION}/g" go.work
|
||||
sed -i "s/GO_VER=${OLD_VERSION}/GO_VER=${NEW_VERSION}/g" 3rdparty/gcp-guest-agent/Dockerfile
|
||||
```
|
||||
|
||||
Or manually:
|
||||
|
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
||||
module github.com/edgelesssys/constellation/v2
|
||||
|
||||
go 1.23.2
|
||||
go 1.23.5
|
||||
|
||||
// TODO(daniel-weisse): revert after merging https://github.com/martinjungblut/go-cryptsetup/pull/16.
|
||||
replace github.com/martinjungblut/go-cryptsetup => github.com/daniel-weisse/go-cryptsetup v0.0.0-20230705150314-d8c07bd1723c
|
||||
|
4
go.work
4
go.work
@ -1,6 +1,6 @@
|
||||
go 1.23.2
|
||||
go 1.23.5
|
||||
|
||||
toolchain go1.23.2
|
||||
toolchain go1.23.5
|
||||
|
||||
use (
|
||||
.
|
||||
|
@ -1,6 +1,6 @@
|
||||
module github.com/edgelesssys/constellation/v2/hack/tools
|
||||
|
||||
go 1.23.2
|
||||
go 1.23.5
|
||||
|
||||
require (
|
||||
github.com/google/go-licenses v1.6.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user