Skip to content

fix: release change failed if metadata.json not exists #324

fix: release change failed if metadata.json not exists

fix: release change failed if metadata.json not exists #324

Triggered via pull request April 25, 2024 12:28
Status Failure
Total duration 28s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: client/client.go#L1
: # github.com/TencentBlueKing/bscp-go/client
lint: client/types.go#L126
assignment mismatch: 3 variables but eventmeta.GetLatestMetadataFromFile returns 2 values (typecheck)
lint: build/nodemanPlugin/main.go#L38
could not import github.com/TencentBlueKing/bscp-go/client (-: # github.com/TencentBlueKing/bscp-go/client
lint: client/types.go#L126
assignment mismatch: 3 variables but eventmeta.GetLatestMetadataFromFile returns 2 values) (typecheck)
lint: cmd/bscp/get.go#L26
could not import github.com/TencentBlueKing/bscp-go/client (-: # github.com/TencentBlueKing/bscp-go/client
lint: client/types.go#L126
assignment mismatch: 3 variables but eventmeta.GetLatestMetadataFromFile returns 2 values) (typecheck)
lint: cmd/bscp/internal/util/file.go#L27
could not import github.com/TencentBlueKing/bscp-go/client (-: # github.com/TencentBlueKing/bscp-go/client
lint: client/types.go#L126
assignment mismatch: 3 variables but eventmeta.GetLatestMetadataFromFile returns 2 values) (typecheck)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.