mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-09-18 23:36:09 +00:00
deps: bump Go version to v1.22.5 (#3225)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
c48995f249
commit
9c3cb08f92
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
|
- name: Setup Go environment
|
||||||
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
||||||
with:
|
with:
|
||||||
go-version: "1.22.4"
|
go-version: "1.22.5"
|
||||||
cache: false
|
cache: false
|
||||||
|
|
||||||
- name: Install Crane
|
- name: Install Crane
|
||||||
|
@ -70,7 +70,7 @@ jobs:
|
|||||||
- name: Setup Go environment
|
- name: Setup Go environment
|
||||||
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
||||||
with:
|
with:
|
||||||
go-version: "1.22.4"
|
go-version: "1.22.5"
|
||||||
cache: false
|
cache: false
|
||||||
|
|
||||||
- name: Determine version
|
- name: Determine version
|
||||||
|
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
if: matrix.language == 'go'
|
if: matrix.language == 'go'
|
||||||
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
||||||
with:
|
with:
|
||||||
go-version: "1.22.4"
|
go-version: "1.22.5"
|
||||||
cache: false
|
cache: false
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -233,7 +233,7 @@ jobs:
|
|||||||
- name: Setup Go environment
|
- name: Setup Go environment
|
||||||
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
||||||
with:
|
with:
|
||||||
go-version: "1.22.4"
|
go-version: "1.22.5"
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Build generateMeasurements tool
|
- 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
|
- name: Setup Go environment
|
||||||
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
||||||
with:
|
with:
|
||||||
go-version: "1.22.4"
|
go-version: "1.22.5"
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Run code generation
|
- name: Run code generation
|
||||||
|
@ -16,7 +16,7 @@ go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
|
|||||||
go_sdk.download(
|
go_sdk.download(
|
||||||
name = "go_sdk",
|
name = "go_sdk",
|
||||||
patches = ["//3rdparty/bazel/org_golang:go_tls_max_handshake_size.patch"],
|
patches = ["//3rdparty/bazel/org_golang:go_tls_max_handshake_size.patch"],
|
||||||
version = "1.22.4",
|
version = "1.22.5",
|
||||||
)
|
)
|
||||||
|
|
||||||
# the use_repo rule needs to list all top-level go dependencies
|
# the use_repo rule needs to list all top-level go dependencies
|
||||||
|
@ -24,6 +24,8 @@ You can use the following command to find replace all instances of `go-version:
|
|||||||
OLD_VERSION="1.xx.x"
|
OLD_VERSION="1.xx.x"
|
||||||
NEW_VERSION="1.xx.y"
|
NEW_VERSION="1.xx.y"
|
||||||
find .github -type f -exec sed -i "s/go-version: \"${OLD_VERSION}\"/go-version: \"${NEW_VERSION}\"/g" {} \;
|
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/${OLD_VERSION}/${NEW_VERSION}/g" go.work
|
||||||
```
|
```
|
||||||
|
|
||||||
Or manually:
|
Or manually:
|
||||||
|
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
|||||||
module github.com/edgelesssys/constellation/v2
|
module github.com/edgelesssys/constellation/v2
|
||||||
|
|
||||||
go 1.22.4
|
go 1.22.5
|
||||||
|
|
||||||
// TODO(daniel-weisse): revert after merging https://github.com/martinjungblut/go-cryptsetup/pull/16.
|
// 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
|
replace github.com/martinjungblut/go-cryptsetup => github.com/daniel-weisse/go-cryptsetup v0.0.0-20230705150314-d8c07bd1723c
|
||||||
|
Loading…
Reference in New Issue
Block a user