Closed baizon closed 1 month ago
By the way, Go was updated to 1.21 already in https://github.com/BitBoxSwiss/bitbox-wallet-app/commit/50c164cab4d0abdd49adfab92091058971ffe3f6, but you have found a few places where the number was not updated properly in https://github.com/BitBoxSwiss/bitbox-wallet-app/pull/2754, so that's nice!
In any case, as I mentioned in the other PR, please split the Go 1.21 fixes into a separate commit - this one seems to contain all the deps update stuff too.
Thanks!
I did a spit now. 2 commits, 1 with the Go update and the second one with the dependencies. I hope this time it's fine.
By the way, Go 1.22 is out too, and finally fixes the reference sharing in for loops:
Would you be willing to make a (separate) PR to update to Go1.22? If you open the PR, I can make and push a new image based on it.
The instructions to reproduce this PR are amazing and made review a breeze. I got the same diff ❤️
ack to copy the instructions and document in the README?
@thisconnect maybe not necessary anymore with https://github.com/BitBoxSwiss/bitbox-wallet-app/pull/2752, which will open PRs to bump deps automatically. You can consider extending this to handle the frontend deps too.
Update to Go 1.21. Steps to reproduce:
go mod edit -go 1.21
go mod tidy
.github/workflows/ci.yml
->go-version: 1.21.x
andappveyor.yml
->GOROOT: C:\go121
git commit
go get -u ./...
go mod tidy
go mod vendor
git commit
&git push