Skip to content

Local disk cache

Local disk cache #921

Triggered via pull request May 13, 2024 23:40
Status Success
Total duration 30s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: go/pkg/flags/flags.go#L144
error returned from external package is unwrapped: sig: func github.com/bazelbuild/remote-apis-sdks/go/pkg/diskcache.New(ctx context.Context, root string, maxCapacityBytes uint64) (*github.com/bazelbuild/remote-apis-sdks/go/pkg/diskcache.DiskCache, error) (wrapcheck)
lint: go/pkg/client/cas_download.go#L145
error returned from external package is unwrapped: sig: func (*github.com/bazelbuild/remote-apis-sdks/go/pkg/diskcache.DiskCache).StoreCas(dg github.com/bazelbuild/remote-apis-sdks/go/pkg/digest.Digest, path string) error (wrapcheck)
lint: go/pkg/diskcache/diskcache.go#L140
error returned from external package is unwrapped: sig: func os.MkdirAll(path string, perm io/fs.FileMode) error (wrapcheck)
lint: go/pkg/diskcache/diskcache.go#L152
error returned from external package is unwrapped: sig: func os.MkdirAll(path string, perm io/fs.FileMode) error (wrapcheck)
lint: go/pkg/diskcache/diskcache.go#L190
error returned from external package is unwrapped: sig: func (*golang.org/x/sync/errgroup.Group).Wait() error (wrapcheck)
lint: go/pkg/diskcache/diskcache.go#L295
error returned from external package is unwrapped: sig: func google.golang.org/protobuf/proto.Marshal(m google.golang.org/protobuf/reflect/protoreflect.ProtoMessage) ([]byte, error) (wrapcheck)
lint: go/pkg/diskcache/diskcache.go#L313
error returned from external package is unwrapped: sig: func os.WriteFile(name string, data []byte, perm io/fs.FileMode) error (wrapcheck)
lint: go/pkg/diskcache/diskcache.go#L369
error returned from external package is unwrapped: sig: func os.Stat(name string) (io/fs.FileInfo, error) (wrapcheck)
lint: go/pkg/diskcache/diskcache.go#L373
error returned from external package is unwrapped: sig: func os.Open(name string) (*os.File, error) (wrapcheck)
lint: go/pkg/diskcache/diskcache.go#L378
error returned from external package is unwrapped: sig: func os.Create(name string) (*os.File, error) (wrapcheck)
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/