Skip to content

feat: auto dependency resolution for maxcompute #1003

feat: auto dependency resolution for maxcompute

feat: auto dependency resolution for maxcompute #1003

Triggered via pull request October 21, 2024 09:32
Status Failure
Total duration 3m 42s
Artifacts

verify.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
lint: plugin/upstream_identifier/maxcompute_upstream_identifier.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/goto/optimus) (gci)
lint: plugin/upstream_identifier/maxcompute_upstream_identifier.go#L8
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/goto/optimus) (gci)
lint: plugin/plugin_service_test.go#L587
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: plugin/upstream_identifier/maxcompute_upstream_identifier.go#L45
append to slice `resourceURNs` with non-zero initialized length (makezero)
lint: plugin/upstream_identifier/maxcompute_upstream_identifier.go#L25
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: plugin/upstream_identifier/upstream_identifier.go#L48
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: plugin/upstream_identifier/maxcompute_upstream_identifier.go#L17
NewMaxcomputeUpstreamIdentifier - result 1 (error) is always nil (unparam)
lint: plugin/upstream_identifier/parser/urn_decorator.go#L14
mnd: Magic number: 3, in <condition> detected (gomnd)
lint: plugin/upstream_identifier/parser/urn_decorator.go#L30
mnd: Magic number: 3, in <condition> detected (gomnd)
lint: plugin/upstream_identifier/parser/urn_decorator.go#L17
host:port in url should be constructed with net.JoinHostPort and not directly with fmt.Sprintf (nosprintfhostport)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
integration-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
integration-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unit-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/