Skip to content

Commit d407c1c

Browse files
committed
chore: go upgrade in workflows
1 parent f9eb531 commit d407c1c

File tree

13 files changed

+24
-24
lines changed

13 files changed

+24
-24
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Go
3232
uses: actions/setup-go@v4
3333
with:
34-
go-version: '1.22'
34+
go-version: '1.23'
3535
check-latest: true
3636
- name: Get dependencies
3737
run: go mod download
@@ -45,5 +45,5 @@ jobs:
4545
- name: Lint
4646
uses: dominikh/[email protected]
4747
with:
48-
version: "2023.1.7"
48+
version: "2024.1.1"
4949
install-go: false

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Setup Go
5454
uses: actions/setup-go@v4
5555
with:
56-
go-version: '1.22'
56+
go-version: '1.23'
5757
check-latest: true
5858
- name: Get dependencies
5959
run: go mod download

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Go
3030
uses: actions/setup-go@v4
3131
with:
32-
go-version: '1.22'
32+
go-version: '1.23'
3333
check-latest: true
3434
- name: Import GPG key
3535
id: import_gpg

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Requirements
44

5-
* [Go](https://go.dev/doc/install) 1.22 or newer (to build the application)
5+
* [Go](https://go.dev/doc/install) 1.23 or newer (to build the application)
66
* [GNU Make](https://www.gnu.org/software/make) (to build and test easier)
77
* [Open Policy Agent](https://www.openpolicyagent.org/docs/latest/#1-download-opa) (to test REGO policies)
88

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Binaries for Linux, Windows and Mac are available as tarballs in the
6565

6666
### Source code
6767

68-
Go [v1.22](https://go.dev/doc/install) or newer is required. Check the [development guide](./DEVELOPMENT.md)
68+
Go [v1.23](https://go.dev/doc/install) or newer is required. Check the [development guide](./DEVELOPMENT.md)
6969
for more details.
7070

7171
```sh

docs/user-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Binaries for Linux, Windows and Mac are available as tarballs in the
6161

6262
### Source code
6363

64-
Go [v1.22](https://go.dev/doc/install) or newer is required. Check the [development guide](../DEVELOPMENT.md)
64+
Go [v1.23](https://go.dev/doc/install) or newer is required. Check the [development guide](../DEVELOPMENT.md)
6565
for more details.
6666

6767
```sh

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ require (
121121
go.opentelemetry.io/otel/sdk/metric v1.29.0 // indirect
122122
go.opentelemetry.io/otel/trace v1.33.0 // indirect
123123
golang.org/x/crypto v0.30.0 // indirect
124-
golang.org/x/mod v0.21.0 // indirect
124+
golang.org/x/mod v0.22.0 // indirect
125125
golang.org/x/net v0.32.0 // indirect
126126
golang.org/x/sync v0.10.0 // indirect
127127
golang.org/x/sys v0.28.0 // indirect
128128
golang.org/x/term v0.27.0 // indirect
129129
golang.org/x/text v0.21.0 // indirect
130130
golang.org/x/time v0.8.0 // indirect
131-
golang.org/x/tools v0.26.0 // indirect
131+
golang.org/x/tools v0.28.0 // indirect
132132
google.golang.org/genproto v0.0.0-20241209162323-e6fa225c2576 // indirect
133133
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
134134
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvx
360360
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
361361
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
362362
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
363-
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
364-
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
363+
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4=
364+
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
365365
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
366366
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
367367
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -416,8 +416,8 @@ golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBn
416416
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
417417
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
418418
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
419-
golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ=
420-
golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0=
419+
golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8=
420+
golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw=
421421
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
422422
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
423423
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

internal/app/app.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (p *PolicyAutomationApp) ClusterJSONData() error {
171171
return errors[0]
172172
}
173173
val, err := json.MarshalIndent(clusterData, "", " ")
174-
log.Debugf("[DEBUG] cluster: " + string(val))
174+
log.Debugf("[DEBUG] cluster: %s", string(val))
175175

176176
for _, cluster := range clusterData {
177177

@@ -184,7 +184,7 @@ func (p *PolicyAutomationApp) ClusterJSONData() error {
184184
if err != nil {
185185
log.Debugf("could not format cluster details: %s", err)
186186
}
187-
log.Debugf("cluster: " + string(val))
187+
log.Debugf("cluster: %s", string(val))
188188

189189
for _, dumpCollector := range p.clusterDumpCollectors {
190190
log.Debugf("registering cluster data with cluster dump collector %s", reflect.TypeOf(dumpCollector).String())

internal/app/app_check_clusters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (p *PolicyAutomationApp) evaluateClusters(regoPackageBases []string) error
152152
return errors[0]
153153
}
154154
val, _ := json.MarshalIndent(clusterData, "", " ")
155-
log.Debugf("[DEBUG] cluster: " + string(val))
155+
log.Debugf("[DEBUG] cluster: %s", string(val))
156156

157157
evalResults := &evaluationResults{}
158158
for _, cluster := range clusterData {

0 commit comments

Comments
 (0)