Skip to content

Commit 14f1cca

Browse files
authored
update go version and dependencies (#5)
1 parent 4395f6f commit 14f1cca

File tree

4 files changed

+73
-487
lines changed

4 files changed

+73
-487
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Run golangci-lint
2222
uses: reviewdog/action-golangci-lint@v2
2323
with:
24-
go_version: "1.20"
24+
go_version: "1.22"
2525

2626
- name: Run hadolint
2727
uses: reviewdog/action-hadolint@v1
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Go
3636
uses: actions/setup-go@v3
3737
with:
38-
go-version: '1.20.x'
38+
go-version: '1.22.x'
3939

4040
- name: Install dependencies
4141
run: go get .

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.19-alpine AS builder
1+
FROM golang:1.22-alpine AS builder
22
COPY . /build
33
WORKDIR /build
44

go.mod

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
11
module github.com/controlplaneio/netassertv2-l4-client
22

3-
go 1.19
3+
go 1.22
44

55
require (
6-
github.com/spf13/cobra v1.6.1
6+
github.com/spf13/cobra v1.8.1
77
github.com/spf13/pflag v1.0.5
8-
github.com/spf13/viper v1.15.0
9-
go.uber.org/automaxprocs v1.5.1
10-
go.uber.org/zap v1.24.0
8+
github.com/spf13/viper v1.19.0
9+
go.uber.org/automaxprocs v1.5.3
10+
go.uber.org/zap v1.27.0
1111
)
1212

1313
require (
14-
github.com/fsnotify/fsnotify v1.6.0 // indirect
14+
github.com/fsnotify/fsnotify v1.7.0 // indirect
1515
github.com/hashicorp/hcl v1.0.0 // indirect
1616
github.com/inconshreveable/mousetrap v1.1.0 // indirect
1717
github.com/magiconair/properties v1.8.7 // indirect
1818
github.com/mitchellh/mapstructure v1.5.0 // indirect
19-
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
20-
github.com/rogpeppe/go-internal v1.8.1 // indirect
21-
github.com/spf13/afero v1.9.3 // indirect
22-
github.com/spf13/cast v1.5.0 // indirect
23-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
24-
github.com/subosito/gotenv v1.4.2 // indirect
25-
go.uber.org/atomic v1.10.0 // indirect
26-
go.uber.org/multierr v1.9.0 // indirect
27-
golang.org/x/sys v0.5.0 // indirect
28-
golang.org/x/text v0.7.0 // indirect
19+
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
20+
github.com/sagikazarmark/locafero v0.6.0 // indirect
21+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
22+
github.com/sourcegraph/conc v0.3.0 // indirect
23+
github.com/spf13/afero v1.11.0 // indirect
24+
github.com/spf13/cast v1.7.0 // indirect
25+
github.com/subosito/gotenv v1.6.0 // indirect
26+
go.uber.org/multierr v1.11.0 // indirect
27+
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect
28+
golang.org/x/sys v0.24.0 // indirect
29+
golang.org/x/text v0.17.0 // indirect
2930
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
3031
gopkg.in/ini.v1 v1.67.0 // indirect
3132
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)