Skip to content

Fix refresh expiry code and add tests (#577) #958

Fix refresh expiry code and add tests (#577)

Fix refresh expiry code and add tests (#577) #958

Triggered via push June 3, 2024 13:58
Status Success
Total duration 44s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: go/pkg/actas/actas_test.go#L83
Error return value is not checked (errcheck)
lint: go/pkg/actas/actas_test.go#L157
Error return value is not checked (errcheck)
lint: go/pkg/actas/actas_test.go#L177
Error return value is not checked (errcheck)
lint: go/pkg/actas/actas_test.go#L215
Error return value is not checked (errcheck)
lint: go/pkg/actas/actas.go#L81
error returned from interface method should be wrapped: sig: func (google.golang.org/grpc/credentials.PerRPCCredentials).GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) (wrapcheck)
lint: go/pkg/actas/actas.go#L118
error returned from external package is unwrapped: sig: func encoding/json.Marshal(v any) ([]byte, error) (wrapcheck)
lint: go/pkg/actas/actas.go#L149
error returned from external package is unwrapped: sig: func net/http.NewRequest(method string, url string, body io.Reader) (*net/http.Request, error) (wrapcheck)
lint: go/pkg/actas/actas.go#L161
error returned from external package is unwrapped: sig: func (*net/http.Client).Do(req *net/http.Request) (*net/http.Response, error) (wrapcheck)
lint: go/pkg/actas/actas.go#L170
error returned from external package is unwrapped: sig: func io.ReadAll(r io.Reader) ([]byte, error) (wrapcheck)
lint: go/pkg/actas/actas.go#L212
error returned from external package is unwrapped: sig: func net/http.NewRequest(method string, url string, body io.Reader) (*net/http.Request, error) (wrapcheck)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@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 `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/