Skip to content

Commit cd4c613

Browse files
authored
Merge pull request #71 from xm1k3/update-go-version
Update go version
2 parents ada5069 + 19a2b45 commit cd4c613

File tree

4 files changed

+99
-507
lines changed

4 files changed

+99
-507
lines changed

.github/workflows/release_binary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
- name: "Set up Go"
1919
uses: actions/setup-go@v4
2020
with:
21-
go-version: 1.19
21+
go-version: 1.22.x
2222
check-latest: true
2323
cache: true
2424

2525
- name: "Create release on GitHub"
2626
uses: goreleaser/goreleaser-action@v4
2727
with:
28-
args: "release --clean"
28+
args: "release --rm-dist"
2929
version: latest
3030
workdir: .
3131
env:

.goreleaser.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ builds:
2424
goarch: 'arm64'
2525

2626
binary: '{{ .ProjectName }}'
27-
# main: cmd/{{ .ProjectName }}/{{ .ProjectName }}.go
2827
main: main.go
2928

3029
archives:

go.mod

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,67 @@
11
module github.com/xm1k3/cent
22

3-
go 1.19
3+
go 1.22
44

55
require (
6-
github.com/fatih/color v1.15.0
7-
github.com/go-git/go-git/v5 v5.9.0
8-
github.com/hashicorp/go-retryablehttp v0.7.4
6+
github.com/fatih/color v1.17.0
7+
github.com/go-git/go-git/v5 v5.12.0
8+
github.com/hashicorp/go-retryablehttp v0.7.7
99
github.com/jedib0t/go-pretty v4.3.0+incompatible
1010
github.com/mitchellh/go-homedir v1.1.0
11-
github.com/spf13/cobra v1.7.0
12-
github.com/spf13/viper v1.17.0
11+
github.com/spf13/cobra v1.8.0
12+
github.com/spf13/viper v1.19.0
1313
gopkg.in/yaml.v2 v2.4.0
1414
gopkg.in/yaml.v3 v3.0.1
1515
)
1616

1717
require (
1818
dario.cat/mergo v1.0.0 // indirect
1919
github.com/Microsoft/go-winio v0.6.1 // indirect
20-
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
21-
github.com/acomagu/bufpipe v1.0.4 // indirect
20+
github.com/ProtonMail/go-crypto v1.0.0 // indirect
2221
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
23-
github.com/cloudflare/circl v1.3.3 // indirect
22+
github.com/cloudflare/circl v1.3.7 // indirect
2423
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
2524
github.com/emirpasic/gods v1.18.1 // indirect
26-
github.com/fsnotify/fsnotify v1.6.0 // indirect
25+
github.com/fsnotify/fsnotify v1.7.0 // indirect
2726
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
2827
github.com/go-git/go-billy/v5 v5.5.0 // indirect
29-
github.com/go-openapi/errors v0.20.3 // indirect
30-
github.com/go-openapi/strfmt v0.21.7 // indirect
28+
github.com/go-openapi/errors v0.22.0 // indirect
29+
github.com/go-openapi/strfmt v0.23.0 // indirect
3130
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
31+
github.com/google/uuid v1.6.0 // indirect
3232
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
3333
github.com/hashicorp/hcl v1.0.0 // indirect
3434
github.com/inconshreveable/mousetrap v1.1.0 // indirect
3535
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
3636
github.com/kevinburke/ssh_config v1.2.0 // indirect
3737
github.com/magiconair/properties v1.8.7 // indirect
3838
github.com/mattn/go-colorable v0.1.13 // indirect
39-
github.com/mattn/go-isatty v0.0.17 // indirect
39+
github.com/mattn/go-isatty v0.0.20 // indirect
4040
github.com/mattn/go-runewidth v0.0.15 // indirect
4141
github.com/mitchellh/mapstructure v1.5.0 // indirect
4242
github.com/oklog/ulid v1.3.1 // indirect
43-
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
43+
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
4444
github.com/pjbgf/sha1cd v0.3.0 // indirect
4545
github.com/rivo/uniseg v0.2.0 // indirect
46-
github.com/sagikazarmark/locafero v0.3.0 // indirect
46+
github.com/sagikazarmark/locafero v0.4.0 // indirect
4747
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
48-
github.com/sergi/go-diff v1.1.0 // indirect
49-
github.com/skeema/knownhosts v1.2.0 // indirect
48+
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
49+
github.com/skeema/knownhosts v1.2.2 // indirect
5050
github.com/sourcegraph/conc v0.3.0 // indirect
51-
github.com/spf13/afero v1.10.0 // indirect
52-
github.com/spf13/cast v1.5.1 // indirect
51+
github.com/spf13/afero v1.11.0 // indirect
52+
github.com/spf13/cast v1.6.0 // indirect
5353
github.com/spf13/pflag v1.0.5 // indirect
5454
github.com/subosito/gotenv v1.6.0 // indirect
5555
github.com/xanzy/ssh-agent v0.3.3 // indirect
56-
go.mongodb.org/mongo-driver v1.11.3 // indirect
56+
go.mongodb.org/mongo-driver v1.14.0 // indirect
5757
go.uber.org/atomic v1.9.0 // indirect
5858
go.uber.org/multierr v1.9.0 // indirect
59-
golang.org/x/crypto v0.13.0 // indirect
59+
golang.org/x/crypto v0.21.0 // indirect
6060
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
6161
golang.org/x/mod v0.12.0 // indirect
62-
golang.org/x/net v0.15.0 // indirect
63-
golang.org/x/sys v0.12.0 // indirect
64-
golang.org/x/text v0.13.0 // indirect
62+
golang.org/x/net v0.23.0 // indirect
63+
golang.org/x/sys v0.20.0 // indirect
64+
golang.org/x/text v0.14.0 // indirect
6565
golang.org/x/tools v0.13.0 // indirect
6666
gopkg.in/ini.v1 v1.67.0 // indirect
6767
gopkg.in/warnings.v0 v0.1.2 // indirect

0 commit comments

Comments
 (0)