The GHA build pipeline is failing with an error:
package crypto/ecdh is not in GOROOT (/opt/hostedtoolcache/go/1.19.4/x64/src/crypto/ecdh)
crypto/ecdh was added in Go 1.21 [0]. This change updates the matrix of
Go versions that the pipelines use to the latest, in order to resolve this
error.
[0]: https://tip.golang.org/doc/go1.21
@@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
- go-version: 1.19.4
+ go-version: 1.22.5
- uses: actions/checkout@v3
# Run benchmark with `go test -bench` and stores the output to a file
- name: Run benchmark