Skip to content

fix: correct wrapping of errors in authentication workflow #1623

fix: correct wrapping of errors in authentication workflow

fix: correct wrapping of errors in authentication workflow #1623

Triggered via pull request December 1, 2023 15:39
Status Success
Total duration 21m 21s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint (1.20.x, ubuntu-latest): internal/shareddefaults/shared_config.go#L35
Error return value of `os.UserHomeDir` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/shareddefaults/shared_config.go#L41
Error return value of `user.Current` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/awsutil/path_value.go#L48
Error return value of `strconv.ParseInt` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): aws/ratelimit/token_rate_limit_test.go#L63
Error return value of `rl.AddTokens` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/sync/singleflight/singleflight_test.go#L107
Error return value of `g.Do` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/sync/singleflight/singleflight_test.go#L180
Error return value of `g.Do` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/sync/singleflight/singleflight_test.go#L233
Error return value is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/sync/singleflight/singleflight_test.go#L280
Error return value is not checked (errcheck)
lint (1.20.x, ubuntu-latest): internal/sync/singleflight/singleflight_test.go#L282
Error return value of `g.Do` is not checked (errcheck)
lint (1.20.x, ubuntu-latest): aws/middleware/private/metrics/readcloserwithmetrics/read_closer_with_metrics_test.go#L21
Error return value of `io.ReadAll` is not checked (errcheck)
lint (1.20.x, ubuntu-latest)
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 (1.20.x, ubuntu-latest)
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 (1.20.x, ubuntu-latest)
The value of "length" is out of range. It must be >= 0 && <= 2147483647. Received 2818932700