From f79ea38c8f5ef0f201e3f824b818247777fedc0a Mon Sep 17 00:00:00 2001 From: sudoforge Date: Thu, 18 Jul 2024 21:40:41 -0700 Subject: [PATCH] fix: bump to go v1.22.5 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 --- .github/workflows/benchmark.yml | 2 +- .github/workflows/go.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 16fb5d7e562908f6b3cbee10c481bef6153abc17..4c0e0cf120cdd3b684305d101c78f3daf91989c4 100644 --- a/.github/workflows/benchmark.yml +++ b/.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 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d0f2585d0dbbd97a16727ec795032be82a6163cb..7ec99351e092811a90dad9e0f13267ff2f19371c 100644 --- a/.github/workflows/go.yml +++ b/.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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80751500c71df3c7e58ffe8b44e8ebefb74eb447..aa5fbcc2361a51b982ce735efbf5acd430c650d9 100644 --- a/.github/workflows/release.yml +++ b/.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