Upgrade package versions and Upgarde to go 1.21
mehdihadeli opened this issue · 2 comments
mehdihadeli commented
Upgrade package versions and Upgarde to go 1.21
Alan-MQ commented
in order to upgrade to go 21, we just modify go.mod at the second line to go 1.21
?
but actually I don't have a clue about how we upgrade package versions. for all packages? including pkg/ folder? that could cause some compatiable problem right?
let me try this one for now
https://golang.cafe/blog/how-to-upgrade-golang-dependencies.html
mehdihadeli commented
Yes, just change the version in go.mod in each service and pkg module, also for GitHub action.
Yes it is fine, maybe something like go get -u -t -d -v ./...
for each service.
After upgrading, the unit and integration tests should be pass as well.