Skip to content

Change Sync Config Duration Type #100

Change Sync Config Duration Type

Change Sync Config Duration Type #100

Triggered via pull request February 12, 2024 21:33
Status Failure
Total duration 4m 36s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 3 warnings
tests: internal/plugins/ostree/pkg/ostreerepository/api.go#L276
cannot use properties.Timeout (variable of type durationpb.Duration) as time.Duration value in argument to context.WithTimeout
tests
Process completed with exit code 1.
lint: internal/plugins/ostree/pkg/ostreerepository/api.go#L276
cannot use properties.Timeout (variable of type durationpb.Duration) as time.Duration value in argument to context.WithTimeout (typecheck)
lint: internal/plugins/ostree/plugin.go#L24
could not import go.ciq.dev/beskar/internal/plugins/ostree/pkg/ostreerepository (-: # go.ciq.dev/beskar/internal/plugins/ostree/pkg/ostreerepository
lint: internal/plugins/ostree/pkg/ostreerepository/api.go#L276
cannot use properties.Timeout (variable of type durationpb.Duration) as time.Duration value in argument to context.WithTimeout) (typecheck)
lint: internal/plugins/ostree/api.go#L75
cannot convert 0 (untyped int constant) to type struct{state impl.MessageState; sizeCache int32; unknownFields []byte; Seconds int64 "protobuf:\"varint,1,opt,name=seconds,proto3\" json:\"seconds,omitempty\""; Nanos int32 "protobuf:\"varint,2,opt,name=nanos,proto3\" json:\"nanos,omitempty\""} (typecheck)
lint: internal/plugins/ostree/api.go#L76
cannot use p.beskarOSTreeConfig.Sync.GetTimeout() (value of type time.Duration) as durationpb.Duration value in assignment (typecheck)
lint: cmd/beskar-ostree/main.go#L14
could not import go.ciq.dev/beskar/internal/plugins/ostree/pkg/ostreerepository (-: # go.ciq.dev/beskar/internal/plugins/ostree/pkg/ostreerepository
lint: internal/plugins/ostree/pkg/ostreerepository/api.go#L276
cannot use properties.Timeout (variable of type durationpb.Duration) as time.Duration value in argument to context.WithTimeout) (typecheck)
lint
Process completed with exit code 1.
build: internal/plugins/ostree/pkg/ostreerepository/api.go#L276
cannot use properties.Timeout (variable of type durationpb.Duration) as time.Duration value in argument to context.WithTimeout
build
Process completed with exit code 1.
tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.