Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #49 from maciaszczykm/client-go
Browse files Browse the repository at this point in the history
Bump dependency versions
  • Loading branch information
k8s-ci-robot authored May 30, 2022
2 parents dbdda80 + a7dafae commit 5dfe71e
Show file tree
Hide file tree
Showing 7 changed files with 724 additions and 101 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: Continuous Integration - Code
name: CI

on:
push:
Expand All @@ -38,19 +38,11 @@ jobs:
go-version: 1.18
- name: Install Dependencies
shell: bash
run: |
go mod download
run: go mod download
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.41.1
- name: Run vet
run: |
go vet .
- name: Check Code
shell: bash
run: |
export GOPATH=$(go env GOPATH)/bin
version: v1.46.2

unit:
name: Unit Tests
Expand All @@ -69,8 +61,7 @@ jobs:
go-version: 1.18
- name: Install Dependencies
shell: bash
run: |
go mod download
run: go mod download
- name: Run Go test
run: go test ./...
- name: Cleanup & Upload Coverage
Expand All @@ -96,7 +87,6 @@ jobs:
go-version: 1.18
- name: Install Dependencies
shell: bash
run: |
go mod download
run: go mod download
- name: Run build
run: go build .
15 changes: 15 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
run:
timeout: 10m
issues-exit-code: 1
tests: true
linters:
disable-all: true
enable:
- deadcode
- gocyclo
- goimports
- govet
- ineffassign
- misspell
- structcheck
- unused
68 changes: 40 additions & 28 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,56 @@ module github.com/kubernetes-sigs/dashboard-metrics-scraper
go 1.18

require (
github.com/gorilla/handlers v1.4.0
github.com/gorilla/mux v1.7.3
github.com/mattn/go-sqlite3 v1.10.0
github.com/onsi/ginkgo v1.7.0
github.com/gorilla/handlers v1.5.1
github.com/gorilla/mux v1.8.0
github.com/mattn/go-sqlite3 v1.14.13
github.com/onsi/ginkgo v1.14.0
github.com/onsi/gomega v1.19.0
github.com/sirupsen/logrus v1.8.1
github.com/spf13/pflag v1.0.1
k8s.io/api v0.0.0-20190222053316-a4bb047fdb92
k8s.io/apimachinery v0.0.0-20190221093215-450d01ad5771
k8s.io/client-go v0.0.0-20190222093734-6e378217e628
k8s.io/metrics v0.0.0-20190222100624-62aa511161ba
github.com/spf13/pflag v1.0.5
k8s.io/api v0.24.0
k8s.io/apimachinery v0.24.0
k8s.io/client-go v0.24.0
k8s.io/metrics v0.24.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful v2.15.0+incompatible // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/gogo/protobuf v0.0.0-20171007142547-342cbe0a0415 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.20.0 // indirect
github.com/go-openapi/swag v0.21.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf // indirect
github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d // indirect
github.com/hpcloud/tail v1.0.1-0.20180514194441-a1dbeea552b7 // indirect
github.com/imdario/mergo v0.3.5 // indirect
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be // indirect
github.com/google/gnostic v0.6.9 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
golang.org/x/crypto v0.0.0-20190222235706-ffb98f73852f // indirect
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
golang.org/x/oauth2 v0.0.0-20170412232759-a6bd8cefa181 // indirect
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/nxadm/tail v1.4.4 // indirect
golang.org/x/net v0.0.0-20220524220425-1d687d428aca // indirect
golang.org/x/oauth2 v0.0.0-20220524215830-622c5d57e401 // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
golang.org/x/term v0.0.0-20220411215600-e5f449aeb171 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20161028155119-f51c12702a4d // indirect
google.golang.org/appengine v1.4.0 // indirect
google.golang.org/protobuf v1.26.0 // indirect
gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect
gopkg.in/inf.v0 v0.9.0 // indirect
golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/klog v0.0.0-20181108234604-8139d8cb77af // indirect
k8s.io/utils v0.0.0-20190221042446-c2654d5206da // indirect
sigs.k8s.io/yaml v1.1.0 // indirect
gopkg.in/yaml.v3 v3.0.0 // indirect
k8s.io/klog/v2 v2.60.1 // indirect
k8s.io/kube-openapi v0.0.0-20220413171646-5e7f5fdc6da6 // indirect
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)
Loading

0 comments on commit 5dfe71e

Please sign in to comment.