Skip to content

refactor: introduce type resource.ID #2460

refactor: introduce type resource.ID

refactor: introduce type resource.ID #2460

Triggered via pull request November 5, 2024 11:24
@leg100leg100
synchronize #704
refactor-id
Status Failure
Total duration 1m 6s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: internal/api/client_test.go#L20
cannot use "ws-1" (untyped string constant) as resource.ID value in struct literal
build: internal/api/client_test.go#L21
cannot use "ws-2" (untyped string constant) as resource.ID value in struct literal (compile)
build: internal/configversion/tfe.go#L167
cannot use id (variable of type string) as resource.ID value in argument to a.UploadConfig
build: internal/configversion/tfe.go#L182
cannot use id (variable of type string) as resource.ID value in argument to a.DownloadConfig
build: internal/configversion/tfe.go#L205
cannot use id.String() (value of type string) as resource.ID value in argument to a.Get (compile)
build: internal/configversion/tfe.go#L167
cannot use id (variable of type string) as resource.ID value in argument to a.UploadConfig
build: internal/configversion/tfe.go#L182
cannot use id (variable of type string) as resource.ID value in argument to a.DownloadConfig
build: internal/configversion/tfe.go#L205
cannot use id.String() (value of type string) as resource.ID value in argument to a.Get
build: internal/configversion/tfe_test.go#L23
cannot use &fakeConfigService*** (value of type *fakeConfigService) as tfeClient value in struct literal: *fakeConfigService does not implement tfeClient (wrong type for method UploadConfig)
build: internal/logs/web_test.go#L44
undefined: internal.GetChunkOptions
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
No files were found with the provided path: internal/integration/screenshots/**/*.png. No artifacts will be uploaded.