refactor: using slices.Contains to simplify the code #13931
reviewdog.yml
on: pull_request
reviewdog-errors
1m 32s
reviewdog-warnings
2m 59s
reviewdog-shellcheck
12s
Annotations
10 errors and 4 warnings
reviewdog-errors:
components/mocks/mockNetwork.go#L24
[Lint Errors] reported by reviewdog 🐶
could not import github.com/algorand/go-algorand/network (-: # github.com/algorand/go-algorand/network
Raw Output:
components/mocks/mockNetwork.go:24:2: could not import github.com/algorand/go-algorand/network (-: # github.com/algorand/go-algorand/network
|
reviewdog-errors:
network/wsPeer.go#L249
[Lint Errors] reported by reviewdog 🐶
undefined: deadlock
Raw Output:
network/wsPeer.go:249:24: undefined: deadlock
|
reviewdog-errors:
network/wsPeer.go#L275
[Lint Errors] reported by reviewdog 🐶
undefined: deadlock
Raw Output:
network/wsPeer.go:275:20: undefined: deadlock
|
reviewdog-errors:
network/wsPeer.go#L280
[Lint Errors] reported by reviewdog 🐶
undefined: deadlock
Raw Output:
network/wsPeer.go:280:12: undefined: deadlock
|
reviewdog-errors:
network/requestTracker.go#L220
[Lint Errors] reported by reviewdog 🐶
undefined: deadlock
Raw Output:
network/requestTracker.go:220:22: undefined: deadlock
|
reviewdog-errors:
network/requestTracker.go#L224
[Lint Errors] reported by reviewdog 🐶
undefined: deadlock) (typecheck)
Raw Output:
network/requestTracker.go:224:20: undefined: deadlock) (typecheck)
"github.com/algorand/go-algorand/network"
^
|
reviewdog-errors:
cmd/catchpointdump/net.go#L37
[Lint Errors] reported by reviewdog 🐶
could not import github.com/algorand/go-algorand/network (-: # github.com/algorand/go-algorand/network
Raw Output:
cmd/catchpointdump/net.go:37:2: could not import github.com/algorand/go-algorand/network (-: # github.com/algorand/go-algorand/network
|
reviewdog-errors:
network/wsPeer.go#L249
[Lint Errors] reported by reviewdog 🐶
undefined: deadlock
Raw Output:
network/wsPeer.go:249:24: undefined: deadlock
|
reviewdog-errors:
network/wsPeer.go#L275
[Lint Errors] reported by reviewdog 🐶
undefined: deadlock
Raw Output:
network/wsPeer.go:275:20: undefined: deadlock
|
reviewdog-errors
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
reviewdog-warnings
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
reviewdog-shellcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
reviewdog-errors
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
reviewdog-warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|