Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/spf13/viper from 1.7.1 to 1.18.2 #3

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
43 changes: 20 additions & 23 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,33 @@ name: Go

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.22.2
id: go

- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.15.6
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Build
run: make build-linux
- name: Build
run: make build-linux

- name: Upload Build Artifact
uses: actions/upload-artifact@v2.1.4
with:
# Artifact name
name: xtradb-proxy-check
# A file, directory or wildcard pattern that describes what to upload
path: out/xtradb-proxy-check_linux
# The desired behavior if no files are found using the provided path.
if-no-files-found: error

- name: Upload Build Artifact
uses: actions/upload-artifact@v2.1.4
with:
# Artifact name
name: xtradb-proxy-check
# A file, directory or wildcard pattern that describes what to upload
path: out/xtradb-proxy-check_linux
# The desired behavior if no files are found using the provided path.
if-no-files-found: error
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ BUILD_BASE=$(GOCMD) build -o out/
TAG_NAME:=$(shell git describe --abbrev=0 --tags)

all: test build
build:
build:
$(BUILD_BASE)$(BINARY_NAME) -v

test:
test:
$(GOCMD) test -v ./...

clean:
clean:
$(GOCMD) clean
rm -f $(BINARY_NAME)
rm -f $(BINARY_LINUX)
Expand Down
41 changes: 39 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,46 @@
module gclustercheck

go 1.14
go 1.22

require (
github.com/aofei/air v0.19.0
github.com/go-sql-driver/mysql v1.5.0
github.com/spf13/viper v1.7.1
github.com/spf13/viper v1.18.2
)

require (
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/VictoriaMetrics/fastcache v1.5.7 // indirect
github.com/aofei/mimesniffer v1.1.4 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.1 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/tdewolff/minify/v2 v2.7.6 // indirect
github.com/tdewolff/parse/v2 v2.4.3 // indirect
github.com/vmihailenco/msgpack/v5 v5.0.0-beta.1 // indirect
github.com/vmihailenco/tagparser v0.1.1 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/crypto v0.16.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
328 changes: 74 additions & 254 deletions go.sum

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions vendor/github.com/VictoriaMetrics/fastcache/go.mod

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/VictoriaMetrics/fastcache/go.sum

This file was deleted.

24 changes: 0 additions & 24 deletions vendor/github.com/aofei/air/go.mod

This file was deleted.

Loading
Loading