-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
golangci-lint #121
golangci-lint #121
Conversation
version: v${{ steps.tool-versions.outputs.golangci-lint_version }} | ||
|
||
# Optional: working directory, useful for monorepos | ||
working-directory: relayer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should include all Go modules in the monorepo: golangci/golangci-lint#828 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extracted GH Issue: #122 (not blocking)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to use matrix args or something even more automated to repeat for each module?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ideally we use a different name for the slice naming
(the other issue can be addressed later)
@@ -20,7 +20,6 @@ var _ median.MedianContract = (*transmissionsCache)(nil) | |||
type transmissionsCache struct { | |||
transmissionDetails TransmissionDetails | |||
tdLock sync.RWMutex | |||
tdTime time.Time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting that this wasn't used...there should be a TTL check here similar to the contract_cache implementation
Co-authored-by: Jordan Krage <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed the one renaming change I requested
bytes
=> bytesBuffer
Copied the latest config from https://github.com/smartcontractkit/chainlink