Bump golang version to 1.22.8 (address CVE-2024-34156) (#2050) (#2182)

Signed-off-by: Sergey Pisarenko <spisarenko@palantir.com>
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
Co-authored-by: Sergey Pisarenko <sergey@pisarenko.net>
Co-authored-by: Sergey Pisarenko <spisarenko@palantir.com>
This commit is contained in:
AbstractionFactory 2024-11-22 12:03:18 +01:00 committed by GitHub
parent 6c6f5beba1
commit 8f19aa2c15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 4 deletions

View File

@ -18,10 +18,14 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Determine Go version
id: go
uses: ./.github/actions/go-version
- name: Install Go - name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with: { go-version: '1.21.3' } with:
go-version: ${{ steps.go.outputs.version }}
- name: Get the equivalence test binary - name: Get the equivalence test binary
run: | run: |

View File

@ -1 +1 @@
1.21.11 1.22.8

View File

@ -1,5 +1,8 @@
## 1.8.6 (unreleased) ## 1.8.6 (unreleased)
ENHANCEMENTS:
* OpenTofu builds now use Go version 1.22 ([#2050](https://github.com/opentofu/opentofu/issues/2050))
## 1.8.5 ## 1.8.5

2
go.mod
View File

@ -266,6 +266,6 @@ require (
sigs.k8s.io/yaml v1.2.0 // indirect sigs.k8s.io/yaml v1.2.0 // indirect
) )
go 1.21 go 1.22
replace github.com/hashicorp/hcl/v2 v2.20.1 => github.com/opentofu/hcl/v2 v2.0.0-20240416130056-03228b26f391 replace github.com/hashicorp/hcl/v2 v2.20.1 => github.com/opentofu/hcl/v2 v2.0.0-20240416130056-03228b26f391