Local disk cache: part 1 #785
Annotations
10 errors and 4 warnings
lint:
go/pkg/diskcache/diskcache.go#L118
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#L127
error returned from interface method should be wrapped: sig: func (context.Context).Err() error (wrapcheck)
|
lint:
go/pkg/diskcache/diskcache.go#L130
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#L132
error returned from external package is unwrapped: sig: func path/filepath.WalkDir(root string, fn io/fs.WalkDirFunc) error (wrapcheck)
|
lint:
go/pkg/diskcache/diskcache.go#L167
error returned from external package is unwrapped: sig: func (*golang.org/x/sync/errgroup.Group).Wait() error (wrapcheck)
|
lint:
go/pkg/diskcache/diskcache.go#L277
error returned from external package is unwrapped: sig: func os.Stat(name string) (io/fs.FileInfo, error) (wrapcheck)
|
lint:
go/pkg/diskcache/diskcache.go#L281
error returned from external package is unwrapped: sig: func os.Open(name string) (*os.File, error) (wrapcheck)
|
lint:
go/pkg/diskcache/diskcache.go#L286
error returned from external package is unwrapped: sig: func os.Create(name string) (*os.File, error) (wrapcheck)
|
lint:
go/pkg/diskcache/diskcache.go#L289
error returned from external package is unwrapped: sig: func (*os.File).Chmod(mode io/fs.FileMode) error (wrapcheck)
|
lint:
go/pkg/diskcache/diskcache.go#L294
error returned from external package is unwrapped: sig: func io.Copy(dst io.Writer, src io.Reader) (written int64, err 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/
|