Skip to content

fix the version order of 'discovery.k8s.io' #686

fix the version order of 'discovery.k8s.io'

fix the version order of 'discovery.k8s.io' #686

Triggered via push April 29, 2024 02:42
Status Failure
Total duration 15m 6s
Artifacts

ci.yml

on: push
Vertify import alias, vendor, codegen, crds
1m 7s
Vertify import alias, vendor, codegen, crds
Lint with golangci-lint
36s
Lint with golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
Lint with golangci-lint: pkg/apiserver/registry/clusterpedia/collectionresources/rest.go#L5
"strings" imported and not used (typecheck)
Lint with golangci-lint: pkg/apiserver/registry/clusterpedia/collectionresources/rest.go#L14
"k8s.io/apimachinery/pkg/util/duration" imported and not used (typecheck)
Lint with golangci-lint: pkg/apiserver/registry/clusterpedia/collectionresources/rest.go#L136
resourceColumnDefinition declared and not used (typecheck)
Lint with golangci-lint: pkg/apiserver/registry/clusterpedia/collectionresources/rest.go#L146
listColumnDefinition declared and not used (typecheck)
Lint with golangci-lint: pkg/generated/clientset/versioned/fake/clientset_generated.go#L32
cs.AddReactor undefined (type *Clientset has no field or method AddReactor) (typecheck)
Lint with golangci-lint: pkg/generated/clientset/versioned/fake/clientset_generated.go#L33
cs.AddWatchReactor undefined (type *Clientset has no field or method AddWatchReactor) (typecheck)
Lint with golangci-lint: pkg/generated/clientset/versioned/typed/cluster/v1alpha2/fake/fake_clustersyncresources.go#L28
c.Fake.Invokes undefined (type *FakeClusterV1alpha2 has no field or method Invokes) (typecheck)
Lint with golangci-lint: pkg/generated/clientset/versioned/typed/cluster/v1alpha2/fake/fake_clustersyncresources.go#L38
c.Fake.Invokes undefined (type *FakeClusterV1alpha2 has no field or method Invokes) (typecheck)
Lint with golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Vertify import alias, vendor, codegen, crds
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Vertify import alias, vendor, codegen, crds
Restore cache failed: Dependencies file is not found in /home/runner/work/clusterpedia/clusterpedia. Supported file pattern: go.sum
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.