Skip to content

Commit e3299ae

Browse files
ENG-772: Upgrade Terratag Go version to 1.24.9 and bump dependencies (#227)
* ENG-772: bump Go version to 1.24.9 to address Go stdlib CVEs * updated go version * chore: bump Go module dependencies
1 parent d474b2f commit e3299ae

File tree

5 files changed

+107
-546
lines changed

5 files changed

+107
-546
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.24.4
18+
go-version: 1.24.9
1919
- name: Go fmt
2020
run: |
2121
! go fmt ./... | read
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set up Go
4040
uses: actions/setup-go@v5
4141
with:
42-
go-version: 1.24.4
42+
go-version: 1.24.9
4343
id: go
4444
- name: Get dependencies
4545
run: |
@@ -82,7 +82,7 @@ jobs:
8282
- name: Set up Go
8383
uses: actions/setup-go@v5
8484
with:
85-
go-version: 1.24.4
85+
go-version: 1.24.9
8686
id: go
8787
- name: Get dependencies
8888
run: |
@@ -114,7 +114,7 @@ jobs:
114114
- name: Set up Go
115115
uses: actions/setup-go@v5
116116
with:
117-
go-version: 1.24.4
117+
go-version: 1.24.9
118118
id: go
119119
- name: Get dependencies
120120
run: |

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.24.4
19+
go-version: 1.24.9
2020
- name: Run GoReleaser
2121
uses: goreleaser/goreleaser-action@v5
2222
with:
@@ -34,10 +34,10 @@ jobs:
3434
steps:
3535
- name: Check out code into the Go module directory
3636
uses: actions/checkout@v4
37-
- name: Set up Go 1.24.4
37+
- name: Set up Go 1.24.9
3838
uses: actions/setup-go@v5
3939
with:
40-
go-version: 1.24.4
40+
go-version: 1.24.9
4141
id: go
4242
- name: Get dependencies
4343
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Issues and Pull Requests are very welcome!
208208

209209
### Prerequisites
210210

211-
- Go ≥ 1.24.4
211+
- Go ≥ 1.24.9
212212

213213
### Build
214214

go.mod

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,48 @@
11
module github.com/env0/terratag
22

3-
go 1.24.4
3+
go 1.24.9
44

55
require (
66
github.com/bmatcuk/doublestar v1.3.4
7-
github.com/hashicorp/go-hclog v1.5.0
8-
github.com/hashicorp/hcl/v2 v2.23.0
7+
github.com/hashicorp/go-hclog v1.6.3
8+
github.com/hashicorp/hcl/v2 v2.24.0
99
github.com/hashicorp/logutils v1.0.0
10-
github.com/onsi/gomega v1.27.5
11-
github.com/otiai10/copy v1.9.0
12-
github.com/spf13/viper v1.15.0
13-
github.com/stretchr/testify v1.8.2
10+
github.com/onsi/gomega v1.38.2
11+
github.com/otiai10/copy v1.14.1
12+
github.com/spf13/viper v1.21.0
13+
github.com/stretchr/testify v1.11.1
1414
github.com/thoas/go-funk v0.9.3
15-
github.com/zclconf/go-cty v1.16.2
15+
github.com/zclconf/go-cty v1.17.0
1616
go.uber.org/multierr v1.11.0
1717
)
1818

1919
require (
2020
github.com/agext/levenshtein v1.2.3 // indirect
2121
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
2222
github.com/davecgh/go-spew v1.1.1 // indirect
23-
github.com/fatih/color v1.15.0 // indirect
24-
github.com/fsnotify/fsnotify v1.6.0 // indirect
25-
github.com/google/go-cmp v0.6.0 // indirect
26-
github.com/hashicorp/hcl v1.0.0 // indirect
27-
github.com/kr/pretty v0.3.1 // indirect
28-
github.com/magiconair/properties v1.8.7 // indirect
29-
github.com/mattn/go-colorable v0.1.13 // indirect
30-
github.com/mattn/go-isatty v0.0.18 // indirect
23+
github.com/fatih/color v1.18.0 // indirect
24+
github.com/fsnotify/fsnotify v1.9.0 // indirect
25+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
26+
github.com/google/go-cmp v0.7.0 // indirect
27+
github.com/mattn/go-colorable v0.1.14 // indirect
28+
github.com/mattn/go-isatty v0.0.20 // indirect
3129
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
32-
github.com/mitchellh/mapstructure v1.5.0 // indirect
33-
github.com/pelletier/go-toml/v2 v2.0.7 // indirect
30+
github.com/otiai10/mint v1.6.3 // indirect
31+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
3432
github.com/pmezard/go-difflib v1.0.0 // indirect
35-
github.com/spf13/afero v1.9.5 // indirect
36-
github.com/spf13/cast v1.5.0 // indirect
37-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
38-
github.com/spf13/pflag v1.0.5 // indirect
39-
github.com/subosito/gotenv v1.4.2 // indirect
40-
golang.org/x/mod v0.22.0 // indirect
41-
golang.org/x/net v0.39.0 // indirect
42-
golang.org/x/sync v0.13.0 // indirect
43-
golang.org/x/sys v0.32.0 // indirect
44-
golang.org/x/text v0.24.0 // indirect
45-
golang.org/x/tools v0.29.0 // indirect
33+
github.com/sagikazarmark/locafero v0.11.0 // indirect
34+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
35+
github.com/spf13/afero v1.15.0 // indirect
36+
github.com/spf13/cast v1.10.0 // indirect
37+
github.com/spf13/pflag v1.0.10 // indirect
38+
github.com/subosito/gotenv v1.6.0 // indirect
39+
go.yaml.in/yaml/v3 v3.0.4 // indirect
40+
golang.org/x/mod v0.30.0 // indirect
41+
golang.org/x/net v0.47.0 // indirect
42+
golang.org/x/sync v0.18.0 // indirect
43+
golang.org/x/sys v0.38.0 // indirect
44+
golang.org/x/text v0.31.0 // indirect
45+
golang.org/x/tools v0.39.0 // indirect
4646
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
47-
gopkg.in/ini.v1 v1.67.0 // indirect
4847
gopkg.in/yaml.v3 v3.0.1 // indirect
4948
)

0 commit comments

Comments
 (0)