Skip to content

Go 1.21

Go 1.21 #786

Triggered via pull request February 19, 2024 03:46
@cheyangcheyang
synchronize #7
go_1.21
Status Failure
Total duration 12m 33s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 3 warnings
lint: src/github.com/fluid-cloudnative/fluid/pkg/application/inject/fuse/mutator/mutating_context.go#L118
SA1019: utilpointer.BoolPtr is deprecated: Use Bool instead. (staticcheck)
lint: src/github.com/fluid-cloudnative/fluid/pkg/ctrl/watch/daemonset_test.go#L40
SA1019: utilpointer.BoolPtr is deprecated: Use Bool instead. (staticcheck)
lint: src/github.com/fluid-cloudnative/fluid/pkg/ctrl/watch/daemonset_test.go#L83
SA1019: utilpointer.BoolPtr is deprecated: Use Bool instead. (staticcheck)
lint: src/github.com/fluid-cloudnative/fluid/pkg/utils/volume_lock.go#L26
SA1019: sets.String is deprecated: use generic Set instead. new ways: s1 := Set[string]{} s2 := New[string]() (staticcheck)
lint: src/github.com/fluid-cloudnative/fluid/pkg/utils/kubeclient/exec.go#L174
SA1019: exec.Stream is deprecated: use StreamWithContext instead to avoid possible resource leaks. See https://github.com/kubernetes/kubernetes/pull/103177 for details. (staticcheck)
lint
issues found
staticcheck: pkg/application/inject/fuse/mutator/mutating_context.go#L118
utilpointer.BoolPtr is deprecated: Use Bool instead. (SA1019)
staticcheck: pkg/ctrl/watch/daemonset_test.go#L40
utilpointer.BoolPtr is deprecated: Use Bool instead. (SA1019)
staticcheck: pkg/ctrl/watch/daemonset_test.go#L83
utilpointer.BoolPtr is deprecated: Use Bool instead. (SA1019)
staticcheck: pkg/ctrl/watch/daemonset_test.go#L95
utilpointer.BoolPtr is deprecated: Use Bool instead. (SA1019)
staticcheck: pkg/ctrl/watch/daemonset_test.go#L144
utilpointer.BoolPtr is deprecated: Use Bool instead. (SA1019)
staticcheck: pkg/ctrl/watch/manager_test.go#L40
utilpointer.BoolPtr is deprecated: Use Bool instead. (SA1019)
staticcheck: pkg/ctrl/watch/statefulset_test.go#L40
utilpointer.BoolPtr is deprecated: Use Bool instead. (SA1019)
staticcheck: pkg/ctrl/watch/statefulset_test.go#L83
utilpointer.BoolPtr is deprecated: Use Bool instead. (SA1019)
staticcheck: pkg/ctrl/watch/statefulset_test.go#L95
utilpointer.BoolPtr is deprecated: Use Bool instead. (SA1019)
staticcheck: pkg/ctrl/watch/statefulset_test.go#L144
utilpointer.BoolPtr is deprecated: Use Bool instead. (SA1019)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/fluid/fluid. Supported file pattern: go.sum
staticcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Restore cache failed: Dependencies file is not found in /home/runner/work/fluid/fluid. Supported file pattern: go.sum