-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Go Drivers
-
Not Needed
-
Context
https://github.com/mongodb/mongo-go-driver/pull/1823 highlights the need to keep the version used in pre-commit in sync with the one used in the Taskfile. Additionally, we are subject to whichever version of go the user has installed. We should unify the two, and enforce a consistent version of Go.
Definition of done
Make a new script that uses a consistent version of go and golangci-lint that is run from both pre-commit and the Taskfile task.
Pitfalls
None