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

Add qodana CI checks #183

Merged
merged 2 commits into from
Nov 5, 2024
Merged

Add qodana CI checks #183

merged 2 commits into from
Nov 5, 2024

Conversation

qodana-cloud[bot]
Copy link

@qodana-cloud qodana-cloud bot commented Nov 5, 2024

Adds qodana.yaml and GitHub workflow file that runs Qodana static analysis on each pull request.

@Xiol Xiol merged commit 9d681d5 into master Nov 5, 2024
@Xiol Xiol deleted the qodana-automation-94396537 branch November 5, 2024 14:57
Copy link

github-actions bot commented Nov 5, 2024

Qodana for Go

3501 new problems were found

Inspection name Severity Problems
Unhandled error 🔶 Warning 2064
Unused parameter 🔶 Warning 182
Redundant types in composite literals 🔶 Warning 43
Deprecated element 🔶 Warning 6
Unused function 🔶 Warning 4
Unused exported function 🔶 Warning 3
Imported package name as a name identifier 🔶 Warning 2
Missing 'case' statements for 'iota' consts in 'switch' 🔶 Warning 2
Bool condition 🔶 Warning 1
Error string should not be capitalized or end with punctuation ◽️ Notice 956
Redundant import alias ◽️ Notice 191
Name starts with a package name ◽️ Notice 28
Type assertion on errors fails on wrapped errors ◽️ Notice 8
Redundant parentheses ◽️ Notice 4
Empty slice declared using a literal ◽️ Notice 3
Redundant type conversion ◽️ Notice 2
Type can be omitted ◽️ Notice 2

☁️ View the detailed Qodana report

Detected 161 dependencies

Third-party software list

This page lists the third-party software dependencies used in project

Dependency Version Licenses
cloud.google.com/go/compute/metadata v0.3.0 Apache-2.0
cloud.google.com/go/compute v1.23.3 Apache-2.0
cloud.google.com/go/firestore v1.13.0 Apache-2.0
cloud.google.com/go/iam v1.1.5 Apache-2.0
cloud.google.com/go/longrunning v0.5.1 Apache-2.0
cloud.google.com/go/storage v1.35.1 Apache-2.0
cloud.google.com/go v0.110.10 Apache-2.0
github.com/ans-group/go-durationstring v1.2.0 MIT
github.com/ans-group/sdk-go v1.20.4 MIT
github.com/armon/go-metrics v0.4.1 MIT
github.com/blang/semver v3.5.1+incompatible MIT
github.com/coreos/go-semver v0.3.0 Apache-2.0
github.com/coreos/go-systemd/v22 v22.3.2 Apache-2.0
github.com/cpuguy83/go-md2man/v2 v2.0.4 MIT
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc ISC
github.com/emicklei/go-restful/v3 v3.11.0 MIT
github.com/fatih/color v1.14.1 MIT
github.com/frankban/quicktest v1.14.4 MIT
github.com/fsnotify/fsnotify v1.6.0 BSD-3-Clause
github.com/fxamacker/cbor/v2 v2.7.0 MIT
github.com/go-logr/logr v1.4.2 Apache-2.0
github.com/go-openapi/jsonpointer v0.19.6 Apache-2.0
github.com/go-openapi/jsonreference v0.20.2 Apache-2.0
github.com/go-openapi/swag v0.22.4 Apache-2.0
github.com/go-playground/locales v0.12.1 MIT
github.com/go-playground/universal-translator v0.16.0 MIT
github.com/go-task/slim-sprig/v3 v3.0.0 MIT
github.com/gogo/protobuf v1.3.2 BSD-3-Clause
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da Apache-2.0
github.com/golang/mock v1.6.0 Apache-2.0
github.com/golang/protobuf v1.5.4 BSD-3-Clause
github.com/google/btree v1.0.1 Apache-2.0
github.com/google/gnostic-models v0.6.8 Apache-2.0
github.com/google/go-cmp v0.6.0 BSD-3-Clause
github.com/google/go-github/v30 v30.1.0 BSD-3-Clause
github.com/google/go-querystring v1.0.0 BSD-3-Clause
github.com/google/gofuzz v1.2.0 Apache-2.0
github.com/google/pprof v0.0.0-20240525223248-4bfdf5a9a2af Apache-2.0
github.com/google/s2a-go v0.1.7 Apache-2.0
github.com/google/uuid v1.6.0 BSD-3-Clause
github.com/googleapis/enterprise-certificate-proxy v0.3.2 Apache-2.0
github.com/googleapis/gax-go/v2 v2.12.0 BSD-3-Clause
github.com/googleapis/google-cloud-go-testing v0.0.0-20210719221736-1c9a4c676720 Apache-2.0
github.com/gorilla/websocket v1.5.0 BSD-2-Clause
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 MIT
github.com/hashicorp/consul/api v1.25.1 MPL-2.0
github.com/hashicorp/go-cleanhttp v0.5.2 MPL-2.0
github.com/hashicorp/go-hclog v1.5.0 MIT
github.com/hashicorp/go-immutable-radix v1.3.1 MPL-2.0
github.com/hashicorp/go-rootcerts v1.0.2 MPL-2.0
github.com/hashicorp/golang-lru v0.5.4 MPL-2.0
github.com/hashicorp/hcl v1.0.0 MPL-2.0
github.com/hashicorp/serf v0.10.1 MPL-2.0
github.com/hpcloud/tail v1.0.0 MIT
github.com/iancoleman/strcase v0.3.0 MIT
github.com/imdario/mergo v0.3.6 BSD-3-Clause
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf Apache-2.0
github.com/inconshreveable/mousetrap v1.1.0 Apache-2.0
github.com/josharian/intern v1.0.0 MIT
github.com/json-iterator/go v1.1.12 MIT
github.com/klauspost/compress v1.17.0 Apache-2.0
BSD-3-CLAUSE-NO-TRADEMARK
BSD-3-Clause
MIT
github.com/kr/fs v0.1.0 BSD-3-Clause
github.com/kr/pretty v0.3.1 MIT
github.com/kr/pty v1.1.1 MIT
github.com/kr/text v0.2.0 MIT
github.com/leodido/go-urn v1.1.0 MIT
github.com/magiconair/properties v1.8.7 BSD-2-Clause
github.com/mailru/easyjson v0.7.7 MIT
github.com/mattn/go-colorable v0.1.13 MIT
github.com/mattn/go-isatty v0.0.17 MIT
github.com/mattn/go-runewidth v0.0.16 MIT
github.com/minio/highwayhash v1.0.2 Apache-2.0
github.com/mitchellh/go-homedir v1.1.0 MIT
github.com/mitchellh/mapstructure v1.5.0 MIT
github.com/moby/spdystream v0.4.0 Apache-2.0
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd Apache-2.0
github.com/modern-go/reflect2 v1.0.2 Apache-2.0
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 BSD-3-Clause
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f BSD-3-Clause
github.com/nats-io/jwt/v2 v2.4.1 Apache-2.0
github.com/nats-io/nats.go v1.30.2 Apache-2.0
github.com/nats-io/nkeys v0.4.5 Apache-2.0
github.com/nats-io/nuid v1.0.1 Apache-2.0
github.com/olekukonko/tablewriter v0.0.5 MIT
github.com/onsi/ginkgo/v2 v2.19.0 MIT
github.com/onsi/ginkgo v1.6.0 MIT
github.com/onsi/gomega v1.4.2 MIT
github.com/pelletier/go-toml/v2 v2.1.0 MIT
github.com/peterbourgon/diskv v2.0.1+incompatible MIT
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c BSD-2-Clause
github.com/pkg/errors v0.9.1 BSD-2-Clause
github.com/pkg/sftp v1.13.6 BSD-2-Clause
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 BSD-3-Clause
github.com/rhysd/go-github-selfupdate v1.2.3 MIT
github.com/rivo/uniseg v0.4.7 MIT
github.com/rogpeppe/go-internal v1.9.0 BSD-3-Clause
github.com/russross/blackfriday/v2 v2.1.0 BSD-2-Clause
github.com/ryanuber/go-glob v1.0.0 MIT
github.com/sagikazarmark/crypt v0.15.0 MIT
github.com/sagikazarmark/locafero v0.3.0 MIT
github.com/sagikazarmark/slog-shim v0.1.0 BSD-3-Clause
github.com/sourcegraph/conc v0.3.0 MIT
github.com/spf13/afero v1.11.0 Apache-2.0
github.com/spf13/cast v1.5.1 MIT
github.com/spf13/cobra v1.8.1 Apache-2.0
github.com/spf13/pflag v1.0.5 BSD-3-Clause
github.com/spf13/viper v1.17.0 MIT
github.com/stretchr/objx v0.5.2 MIT
github.com/stretchr/testify v1.9.0 MIT
github.com/subosito/gotenv v1.6.0 MIT
github.com/tcnksm/go-gitconfig v0.1.2 MIT
github.com/ulikunitz/xz v0.5.9 BSD-3-Clause
github.com/x448/float16 v0.8.4 MIT
github.com/yuin/goldmark v1.3.5 MIT
go.etcd.io/etcd/api/v3 v3.5.9 Apache-2.0
go.etcd.io/etcd/client/pkg/v3 v3.5.9 Apache-2.0
go.etcd.io/etcd/client/v2 v2.305.9 Apache-2.0
go.etcd.io/etcd/client/v3 v3.5.9 Apache-2.0
go.opencensus.io v0.24.0 Apache-2.0
go.uber.org/atomic v1.9.0 MIT
go.uber.org/goleak v1.3.0 MIT
go.uber.org/multierr v1.9.0 MIT
go.uber.org/zap v1.21.0 MIT
golang.org/x/crypto v0.24.0 BSD-3-Clause
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 BSD-3-Clause
golang.org/x/mod v0.17.0 BSD-3-Clause
golang.org/x/net v0.26.0 BSD-3-Clause
golang.org/x/oauth2 v0.21.0 BSD-3-Clause
golang.org/x/sync v0.8.0 BSD-3-Clause
golang.org/x/sys v0.26.0 BSD-3-Clause
golang.org/x/term v0.21.0 BSD-3-Clause
golang.org/x/text v0.19.0 BSD-3-Clause
golang.org/x/time v0.5.0 BSD-3-Clause
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d BSD-3-Clause
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 BSD-3-Clause
google.golang.org/api v0.152.0 BSD-3-Clause
google.golang.org/appengine v1.6.7 Apache-2.0
google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 Apache-2.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f Apache-2.0
google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 Apache-2.0
google.golang.org/grpc v1.59.0 Apache-2.0
google.golang.org/protobuf v1.34.2 BSD-3-Clause
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 BSD-2-Clause
gopkg.in/evanphx/json-patch.v4 v4.12.0 BSD-3-Clause
gopkg.in/fsnotify.v1 v1.4.7 BSD-3-Clause
gopkg.in/go-playground/assert.v1 v1.2.1 MIT
gopkg.in/go-playground/validator.v9 v9.27.0 MIT
gopkg.in/inf.v0 v0.9.1 BSD-3-Clause
gopkg.in/ini.v1 v1.67.0 Apache-2.0
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 BSD-3-Clause
gopkg.in/yaml.v2 v2.4.0 Apache-2.0
MIT
gopkg.in/yaml.v3 v3.0.1 Apache-2.0
MIT
k8s.io/apimachinery v0.31.1 Apache-2.0
k8s.io/api v0.31.1 Apache-2.0
k8s.io/client-go v0.31.1 Apache-2.0
k8s.io/klog/v2 v2.130.1 Apache-2.0
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 Apache-2.0
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 Apache-2.0
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd Apache-2.0
BSD-3-Clause
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 Apache-2.0
sigs.k8s.io/yaml v1.4.0 Apache-2.0
Contact Qodana team

Contact us at [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants