Skip to content

Commit cf30854

Browse files
Bump github.com/spf13/viper from 1.7.1 to 1.18.2 (#3)
* Bump github.com/spf13/viper from 1.7.1 to 1.18.2 Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.7.1 to 1.18.2. - [Release notes](https://github.com/spf13/viper/releases) - [Commits](spf13/viper@v1.7.1...v1.18.2) --- updated-dependencies: - dependency-name: github.com/spf13/viper dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * update go version * upgrading Go --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rush S <github@ru8733.com>
1 parent d37e153 commit cf30854

File tree

946 files changed

+165115
-59059
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

946 files changed

+165115
-59059
lines changed

.github/workflows/go.yml

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,33 @@ name: Go
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
7-
branches: [ master ]
7+
branches: [master]
88

99
jobs:
10-
1110
build:
1211
name: Build
1312
runs-on: ubuntu-latest
1413
steps:
14+
- name: Set up Go 1.x
15+
uses: actions/setup-go@v2
16+
with:
17+
go-version: ^1.22.2
18+
id: go
1519

16-
- name: Set up Go 1.x
17-
uses: actions/setup-go@v2
18-
with:
19-
go-version: ^1.15.6
20-
id: go
20+
- name: Check out code into the Go module directory
21+
uses: actions/checkout@v2
2122

22-
- name: Check out code into the Go module directory
23-
uses: actions/checkout@v2
24-
25-
- name: Build
26-
run: make build-linux
23+
- name: Build
24+
run: make build-linux
2725

28-
- name: Upload Build Artifact
29-
uses: actions/upload-artifact@v2.1.4
30-
with:
31-
# Artifact name
32-
name: xtradb-proxy-check
33-
# A file, directory or wildcard pattern that describes what to upload
34-
path: out/xtradb-proxy-check_linux
35-
# The desired behavior if no files are found using the provided path.
36-
if-no-files-found: error
37-
26+
- name: Upload Build Artifact
27+
uses: actions/upload-artifact@v2.1.4
28+
with:
29+
# Artifact name
30+
name: xtradb-proxy-check
31+
# A file, directory or wildcard pattern that describes what to upload
32+
path: out/xtradb-proxy-check_linux
33+
# The desired behavior if no files are found using the provided path.
34+
if-no-files-found: error

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ BUILD_BASE=$(GOCMD) build -o out/
66
TAG_NAME:=$(shell git describe --abbrev=0 --tags)
77

88
all: test build
9-
build:
9+
build:
1010
$(BUILD_BASE)$(BINARY_NAME) -v
1111

12-
test:
12+
test:
1313
$(GOCMD) test -v ./...
1414

15-
clean:
15+
clean:
1616
$(GOCMD) clean
1717
rm -f $(BINARY_NAME)
1818
rm -f $(BINARY_LINUX)

go.mod

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,46 @@
11
module gclustercheck
22

3-
go 1.14
3+
go 1.22
44

55
require (
66
github.com/aofei/air v0.19.0
77
github.com/go-sql-driver/mysql v1.5.0
8-
github.com/spf13/viper v1.7.1
8+
github.com/spf13/viper v1.18.2
9+
)
10+
11+
require (
12+
github.com/BurntSushi/toml v0.3.1 // indirect
13+
github.com/VictoriaMetrics/fastcache v1.5.7 // indirect
14+
github.com/aofei/mimesniffer v1.1.4 // indirect
15+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
16+
github.com/fsnotify/fsnotify v1.7.0 // indirect
17+
github.com/golang/protobuf v1.5.3 // indirect
18+
github.com/golang/snappy v0.0.1 // indirect
19+
github.com/gorilla/websocket v1.4.2 // indirect
20+
github.com/hashicorp/hcl v1.0.0 // indirect
21+
github.com/magiconair/properties v1.8.7 // indirect
22+
github.com/mitchellh/mapstructure v1.5.0 // indirect
23+
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
24+
github.com/sagikazarmark/locafero v0.4.0 // indirect
25+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
26+
github.com/sourcegraph/conc v0.3.0 // indirect
27+
github.com/spf13/afero v1.11.0 // indirect
28+
github.com/spf13/cast v1.6.0 // indirect
29+
github.com/spf13/pflag v1.0.5 // indirect
30+
github.com/subosito/gotenv v1.6.0 // indirect
31+
github.com/tdewolff/minify/v2 v2.7.6 // indirect
32+
github.com/tdewolff/parse/v2 v2.4.3 // indirect
33+
github.com/vmihailenco/msgpack/v5 v5.0.0-beta.1 // indirect
34+
github.com/vmihailenco/tagparser v0.1.1 // indirect
35+
go.uber.org/atomic v1.9.0 // indirect
36+
go.uber.org/multierr v1.9.0 // indirect
37+
golang.org/x/crypto v0.16.0 // indirect
38+
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
39+
golang.org/x/net v0.19.0 // indirect
40+
golang.org/x/sys v0.15.0 // indirect
41+
golang.org/x/text v0.14.0 // indirect
42+
google.golang.org/appengine v1.6.7 // indirect
43+
google.golang.org/protobuf v1.31.0 // indirect
44+
gopkg.in/ini.v1 v1.67.0 // indirect
45+
gopkg.in/yaml.v3 v3.0.1 // indirect
946
)

go.sum

Lines changed: 74 additions & 254 deletions
Large diffs are not rendered by default.

vendor/github.com/VictoriaMetrics/fastcache/go.mod

Lines changed: 0 additions & 9 deletions
This file was deleted.

vendor/github.com/VictoriaMetrics/fastcache/go.sum

Lines changed: 0 additions & 14 deletions
This file was deleted.

vendor/github.com/aofei/air/go.mod

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)