fix: bump to go v1.22.5

sudoforge created

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

Change summary

.github/workflows/benchmark.yml | 2 +-
.github/workflows/go.yml        | 2 +-
.github/workflows/release.yml   | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

.github/workflows/benchmark.yml 🔗

@@ -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

.github/workflows/go.yml 🔗

@@ -12,7 +12,7 @@ jobs:
 
     strategy:
       matrix:
-        go-version: [1.19.4]
+        go-version: [1.22.5]
         platform: [ubuntu-latest, macos-latest, windows-latest]
 
     runs-on: ${{ matrix.platform }}

.github/workflows/release.yml 🔗

@@ -14,7 +14,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v3
         with:
-          go-version: 1.19.4
+          go-version: 1.22.5
 
       - name: Check out code
         uses: actions/checkout@v2