Skip to content

BucketType method to locally store bucketType in variable #6931

BucketType method to locally store bucketType in variable

BucketType method to locally store bucketType in variable #6931

Triggered via pull request May 10, 2024 08:55
Status Failure
Total duration 1m 0s
Artifacts

ci.yml

on: pull_request
Matrix: linux-tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
Lint: internal/canned/canned.go#L24
could not import github.com/googlecloudplatform/gcsfuse/v2/internal/storage/fake (-: # github.com/googlecloudplatform/gcsfuse/v2/internal/storage/fake
Lint: internal/storage/fake/bucket.go#L440
cannot use b.bucketType (variable of type string) as gcs.BucketTypes value in return statement) (typecheck)
Lint: internal/fs/fs.go#L647
previous case (typecheck)
Lint: main.go#L37
could not import github.com/googlecloudplatform/gcsfuse/v2/internal/storage (-: # github.com/googlecloudplatform/gcsfuse/v2/internal/storage
Lint: internal/storage/mock_bucket.go#L33
cannot use &mockBucket{…} (value of type *mockBucket) as MockBucket value in return statement: *mockBucket does not implement MockBucket (wrong type for method BucketType)
Lint: internal/cache/file/cache_handle_test.go#L35
could not import github.com/googlecloudplatform/gcsfuse/v2/internal/storage (-: # github.com/googlecloudplatform/gcsfuse/v2/internal/storage
Lint: internal/storage/mock_bucket.go#L33
cannot use &mockBucket{…} (value of type *mockBucket) as MockBucket value in return statement: *mockBucket does not implement MockBucket (wrong type for method BucketType)
Lint: internal/cache/file/downloader/downloader_test.go#L28
could not import github.com/googlecloudplatform/gcsfuse/v2/internal/storage (-: # github.com/googlecloudplatform/gcsfuse/v2/internal/storage
Lint: internal/storage/mock_bucket.go#L33
cannot use &mockBucket{…} (value of type *mockBucket) as MockBucket value in return statement: *mockBucket does not implement MockBucket (wrong type for method BucketType)
Lint: internal/fs/all_buckets_test.go#L23
could not import github.com/googlecloudplatform/gcsfuse/v2/internal/storage/fake (-: # github.com/googlecloudplatform/gcsfuse/v2/internal/storage/fake
linux-tests (1.22.x)
Process completed with exit code 1.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@032fa5c5e48499f06cf9d32c02149bfac1284239. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/
linux-tests (1.22.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2.1.4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
linux-tests (1.22.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2.1.4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/