Skip to content

Add automatic resource cleanup #15

Add automatic resource cleanup

Add automatic resource cleanup #15

Triggered via pull request December 29, 2024 05:44
Status Failure
Total duration 2m 42s
Artifacts

test.yml

on: pull_request
Run Tests and Analysis
2m 34s
Run Tests and Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Run Tests and Analysis: pkg/client/client.go#L38
var requestId should be requestID (ST1003)
Run Tests and Analysis: pkg/client/client.go#L44
should omit comparison to bool constant, can be simplified to !exists (S1002)
Run Tests and Analysis: pkg/client/client.go#L81
should omit comparison to bool constant, can be simplified to !session.Open (S1002)
Run Tests and Analysis: pkg/client/client.go#L225
should omit comparison to bool constant, can be simplified to ok (S1002)
Run Tests and Analysis: pkg/common/common.go#L1
at least one file in a package should have a package comment (ST1000)
Run Tests and Analysis: pkg/common/common.go#L24
struct field Id should be ID (ST1003)
Run Tests and Analysis: pkg/common/common.go#L80
should omit comparison to bool constant, can be simplified to ok (S1002)
Run Tests and Analysis: pkg/common/common.go#L81
should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (S1028)
Run Tests and Analysis: pkg/common/common.go#L98
should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (S1028)
Run Tests and Analysis: pkg/common/common.go#L103
should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (S1028)
Run Tests and Analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636