add a placeholder function for templating shell scripts (#534) #800
Annotations
10 errors and 4 warnings
lint:
go/pkg/testutil/testutil.go#L18
error returned from external package is unwrapped: sig: func os.CreateTemp(dir string, pattern string) (*os.File, error) (wrapcheck)
|
lint:
go/pkg/testutil/testutil.go#L21
error returned from external package is unwrapped: sig: func (*os.File).Chmod(mode io/fs.FileMode) error (wrapcheck)
|
lint:
go/pkg/testutil/testutil.go#L24
error returned from external package is unwrapped: sig: func (*os.File).Close() error (wrapcheck)
|
lint:
go/pkg/testutil/testutil.go#L28
error returned from external package is unwrapped: sig: func os.WriteFile(name string, data []byte, perm io/fs.FileMode) error (wrapcheck)
|
lint:
go/pkg/cas/upload.go#L331
Error return value of `eg.Wait` is not checked (errcheck)
|
lint:
go/pkg/cas/client.go#L20
ST1019: package "github.com/bazelbuild/remote-apis/build/bazel/remote/execution/v2" is being imported more than once (stylecheck)
|
lint:
go/pkg/cas/client.go#L21
ST1019(related information): other import of "github.com/bazelbuild/remote-apis/build/bazel/remote/execution/v2" (stylecheck)
|
lint:
go/pkg/cas/upload_test.go#L24
ST1019: package "github.com/bazelbuild/remote-apis/build/bazel/remote/execution/v2" is being imported more than once (stylecheck)
|
lint:
go/pkg/cas/upload_test.go#L25
ST1019(related information): other import of "github.com/bazelbuild/remote-apis/build/bazel/remote/execution/v2" (stylecheck)
|
lint:
go/pkg/cas/client.go#L227
ST1005: error strings should not be capitalized (stylecheck)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|