Add automatic resource cleanup #15
test.yml
on: pull_request
Run Tests and Analysis
2m 34s
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
|