Skip to content

Commit 8e4ce18

Browse files
committed
merge master
2 parents 1557dbc + c4cbe12 commit 8e4ce18

File tree

17 files changed

+463
-442
lines changed

17 files changed

+463
-442
lines changed

.github/workflows/ci-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
go-version-file: go.mod
2424

2525
- name: Lint
26-
uses: golangci/golangci-lint-action@v6
26+
uses: golangci/golangci-lint-action@v8
2727
with:
28-
version: v1.63.1
28+
version: v2.1.6
2929
skip-pkg-cache: true
3030
skip-build-cache: true
3131
args: --config=./.golangci.yml --verbose

.golangci.yml

Lines changed: 61 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,65 @@
1-
run:
2-
# timeout for analysis, e.g. 30s, 5m, default is 1m
3-
timeout: 10m
4-
1+
version: "2"
52
linters:
63
enable:
7-
- megacheck
4+
- asasalint
5+
- asciicheck
6+
- bidichk
7+
- bodyclose
8+
- durationcheck
9+
- errchkjson
10+
- errorlint
11+
- exhaustive
12+
- gocheckcompilerdirectives
13+
- gochecksumtype
814
- gocyclo
9-
- gofmt
10-
- revive
15+
- gosec
16+
- gosmopolitan
17+
- loggercheck
18+
- makezero
1119
- misspell
12-
presets: # groups of linters. See https://golangci-lint.run/usage/linters/
13-
- bugs
14-
- unused
15-
disable:
16-
- golint # deprecated, use 'revive'
17-
- scopelint # deprecated, use 'exportloopref'
18-
- contextcheck # too many false-positives
19-
- noctx # not needed
20-
21-
# all available settings of specific linters
22-
linters-settings:
23-
unparam:
24-
# Inspect exported functions, default is false. Set to true if no external program/library imports your code.
25-
# XXX: if you enable this setting, unparam will report a lot of false-positives in text editors:
26-
# if it's called for subdir of a project it can't find external interfaces. All text editor integrations
27-
# with golangci-lint call it on a directory with the changed file.
28-
check-exported: true
29-
testifylint:
30-
disable:
31-
- suite-dont-use-pkg
32-
revive:
33-
rules:
34-
- name: dot-imports
35-
disabled: true # we allow for dot-import
20+
- musttag
21+
- nilerr
22+
- nilnesserr
23+
- protogetter
24+
- reassign
25+
- recvcheck
26+
- revive
27+
- rowserrcheck
28+
- spancheck
29+
- sqlclosecheck
30+
- testifylint
31+
- unparam
32+
- zerologlint
33+
disable:
34+
- contextcheck
35+
- noctx
36+
settings:
37+
revive:
38+
rules:
39+
- name: dot-imports
40+
disabled: true
41+
testifylint:
42+
disable:
43+
- suite-dont-use-pkg
44+
unparam:
45+
check-exported: true
46+
exclusions:
47+
generated: lax
48+
presets:
49+
- comments
50+
- common-false-positives
51+
- legacy
52+
- std-error-handling
53+
paths:
54+
- third_party$
55+
- builtin$
56+
- examples$
57+
formatters:
58+
enable:
59+
- gofmt
60+
exclusions:
61+
generated: lax
62+
paths:
63+
- third_party$
64+
- builtin$
65+
- examples$

go.mod

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/codeready-toolchain/toolchain-e2e
22

33
require (
4-
github.com/codeready-toolchain/api v0.0.0-20250313170542-4e3c4147cb80
5-
github.com/codeready-toolchain/toolchain-common v0.0.0-20250313203311-0bce6563576f
6-
github.com/davecgh/go-spew v1.1.1
7-
github.com/fatih/color v1.16.0
4+
github.com/codeready-toolchain/api v0.0.0-20250506092100-39b4862e1271
5+
github.com/codeready-toolchain/toolchain-common v0.0.0-20250506093954-2b65ad3a2e12
6+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
7+
github.com/fatih/color v1.18.0
88
github.com/ghodss/yaml v1.0.0
99
github.com/gofrs/uuid v3.3.0+incompatible
1010
github.com/google/go-cmp v0.6.0
@@ -13,22 +13,22 @@ require (
1313
github.com/gosuri/uitable v0.0.4
1414
github.com/hashicorp/go-multierror v1.1.1
1515
github.com/manifoldco/promptui v0.9.0
16-
// using latest commit from 'github.com/openshift/api branch release-4.17'
17-
github.com/openshift/api v0.0.0-20250214103856-0cfc958f642b
18-
github.com/operator-framework/api v0.24.0
16+
// using latest commit from 'github.com/openshift/api branch release-4.18'
17+
github.com/openshift/api v0.0.0-20250410062700-d6c84c55a124
18+
github.com/operator-framework/api v0.27.0
1919
github.com/pkg/errors v0.9.1
20-
github.com/prometheus/client_golang v1.18.0
21-
github.com/prometheus/client_model v0.6.0
22-
github.com/prometheus/common v0.47.0
20+
github.com/prometheus/client_golang v1.19.1
21+
github.com/prometheus/client_model v0.6.1
22+
github.com/prometheus/common v0.55.0
2323
github.com/redhat-cop/operator-utils v1.3.8
24-
github.com/spf13/cobra v1.8.0
24+
github.com/spf13/cobra v1.8.1
2525
github.com/stretchr/testify v1.10.0
26-
k8s.io/api v0.30.1
27-
k8s.io/apimachinery v0.30.1
28-
k8s.io/client-go v0.30.1
29-
k8s.io/kubectl v0.30.1
30-
k8s.io/metrics v0.30.1
31-
sigs.k8s.io/controller-runtime v0.18.4
26+
k8s.io/api v0.31.2
27+
k8s.io/apimachinery v0.31.2
28+
k8s.io/client-go v0.31.2
29+
k8s.io/kubectl v0.31.2
30+
k8s.io/metrics v0.31.2
31+
sigs.k8s.io/controller-runtime v0.19.7
3232
)
3333

3434
require github.com/google/uuid v1.6.0
@@ -41,31 +41,31 @@ require (
4141
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
4242
github.com/beorn7/perks v1.0.1 // indirect
4343
github.com/blang/semver/v4 v4.0.0 // indirect
44-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
44+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
4545
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
4646
github.com/cloudflare/circl v1.3.7 // indirect
4747
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
4848
github.com/emicklei/go-restful/v3 v3.11.2 // indirect
49-
github.com/evanphx/json-patch v5.7.0+incompatible // indirect
5049
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
5150
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
5251
github.com/fsnotify/fsnotify v1.7.0 // indirect
52+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
5353
github.com/go-errors/errors v1.4.2 // indirect
54-
github.com/go-logr/logr v1.4.1 // indirect
54+
github.com/go-logr/logr v1.4.2 // indirect
5555
github.com/go-openapi/jsonpointer v0.20.2 // indirect
5656
github.com/go-openapi/jsonreference v0.20.4 // indirect
5757
github.com/go-openapi/swag v0.22.9 // indirect
5858
github.com/goccy/go-json v0.10.2 // indirect
5959
github.com/gogo/protobuf v1.3.2 // indirect
60-
github.com/golang-jwt/jwt/v5 v5.2.0 // indirect
60+
github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
6161
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
6262
github.com/golang/protobuf v1.5.4 // indirect
6363
github.com/google/gnostic-models v0.6.8 // indirect
6464
github.com/google/go-github/v52 v52.0.0 // indirect
6565
github.com/google/go-querystring v1.1.0 // indirect
6666
github.com/google/gofuzz v1.2.0 // indirect
6767
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
68-
github.com/gorilla/mux v1.8.0 // indirect
68+
github.com/gorilla/mux v1.8.1 // indirect
6969
github.com/gosuri/uilive v0.0.4 // indirect
7070
github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 // indirect
7171
github.com/hashicorp/errwrap v1.0.0 // indirect
@@ -91,39 +91,40 @@ require (
9191
github.com/modern-go/reflect2 v1.0.2 // indirect
9292
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
9393
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
94-
github.com/openshift/library-go v0.0.0-20241118144106-bfd968d8eef4 // indirect
95-
github.com/pmezard/go-difflib v1.0.0 // indirect
96-
github.com/prometheus/procfs v0.12.0 // indirect
94+
github.com/openshift/library-go v0.0.0-20250403134058-7c43fdf96c62 // indirect
95+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
96+
github.com/prometheus/procfs v0.15.1 // indirect
9797
github.com/shopspring/decimal v1.2.0 // indirect
98-
github.com/sirupsen/logrus v1.9.2 // indirect
98+
github.com/sirupsen/logrus v1.9.3 // indirect
9999
github.com/spf13/cast v1.3.1 // indirect
100100
github.com/spf13/pflag v1.0.5 // indirect
101+
github.com/x448/float16 v0.8.4 // indirect
101102
github.com/xlab/treeprint v1.2.0 // indirect
102103
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
103104
golang.org/x/crypto v0.31.0 // indirect
104-
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect
105+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
105106
golang.org/x/net v0.33.0 // indirect
106-
golang.org/x/oauth2 v0.17.0 // indirect
107+
golang.org/x/oauth2 v0.21.0 // indirect
107108
golang.org/x/sync v0.10.0 // indirect
108109
golang.org/x/sys v0.28.0 // indirect
109110
golang.org/x/term v0.27.0 // indirect
110111
golang.org/x/text v0.21.0 // indirect
111112
golang.org/x/time v0.5.0 // indirect
112113
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
113-
google.golang.org/appengine v1.6.8 // indirect
114-
google.golang.org/protobuf v1.33.0 // indirect
114+
google.golang.org/protobuf v1.34.2 // indirect
115+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
115116
gopkg.in/h2non/gock.v1 v1.0.14 // indirect
116117
gopkg.in/inf.v0 v0.9.1 // indirect
117118
gopkg.in/yaml.v2 v2.4.0 // indirect
118119
gopkg.in/yaml.v3 v3.0.1 // indirect
119-
k8s.io/apiextensions-apiserver v0.30.1 // indirect
120-
k8s.io/cli-runtime v0.30.1 // indirect
121-
k8s.io/klog/v2 v2.120.1 // indirect
120+
k8s.io/apiextensions-apiserver v0.31.2 // indirect
121+
k8s.io/cli-runtime v0.31.2 // indirect
122+
k8s.io/klog/v2 v2.130.1 // indirect
122123
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
123-
k8s.io/utils v0.0.0-20240102154912-e7106e64919e // indirect
124+
k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 // indirect
124125
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
125-
sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 // indirect
126-
sigs.k8s.io/kustomize/kyaml v0.14.3-0.20230601165947-6ce0bf390ce3 // indirect
126+
sigs.k8s.io/kustomize/api v0.17.2 // indirect
127+
sigs.k8s.io/kustomize/kyaml v0.17.1 // indirect
127128
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
128129
sigs.k8s.io/yaml v1.4.0 // indirect
129130
)

0 commit comments

Comments
 (0)