From c0b6b5ad6e9d6c1e954bba2c7416f340d15d4a36 Mon Sep 17 00:00:00 2001 From: Aaron Buchwald Date: Mon, 21 Oct 2024 11:30:07 -0400 Subject: [PATCH] Update min go version to go1.22.8 --- .devcontainer/contracts-tutorial/devcontainer.json | 2 +- .github/actions/install-go/action.yml | 2 +- CONTRIBUTING.md | 2 +- docs/tutorials/morpheusvm/morpheusvm.md | 4 ++-- examples/morpheusvm/go.mod | 2 +- examples/vmwithcontracts/go.mod | 2 +- go.mod | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.devcontainer/contracts-tutorial/devcontainer.json b/.devcontainer/contracts-tutorial/devcontainer.json index 0e16921802..798cebf2fd 100644 --- a/.devcontainer/contracts-tutorial/devcontainer.json +++ b/.devcontainer/contracts-tutorial/devcontainer.json @@ -5,7 +5,7 @@ "features": { "ghcr.io/devcontainers/features/go:1": { - "version": "1.21.12" + "version": "1.22.8" }, "ghcr.io/devcontainers/features/rust:1": {}, "ghcr.io/devcontainers/features/common-utils:2": { diff --git a/.github/actions/install-go/action.yml b/.github/actions/install-go/action.yml index 28b584f038..25ad754edc 100644 --- a/.github/actions/install-go/action.yml +++ b/.github/actions/install-go/action.yml @@ -17,6 +17,6 @@ runs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21.10' + go-version: '1.22.8' cache: ${{ inputs.cache }} cache-dependency-path: ${{ inputs.cache-dependency-path }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7670e2b36e..88ecfa2853 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ Thank you for your interest in contributing to `hypersdk`! By contributing to hy To contribute to `hypersdk`, you'll need: -- [Go](https://golang.org/dl/) 1.21 or higher +- [Go](https://golang.org/dl/) 1.22.8 or higher ### Setting up your development environment diff --git a/docs/tutorials/morpheusvm/morpheusvm.md b/docs/tutorials/morpheusvm/morpheusvm.md index 97b227a690..4702dee3a1 100644 --- a/docs/tutorials/morpheusvm/morpheusvm.md +++ b/docs/tutorials/morpheusvm/morpheusvm.md @@ -21,7 +21,7 @@ This introduction will go over everything up to and including the section ## Prerequisites -- You are using Go 1.21.12 +- You are using Go 1.22.8 To confirm, you can run: @@ -32,7 +32,7 @@ go version And you should see the ouptut (slightly different depending on your machine): ``` -go version go1.21.12 darwin/arm64 +go version go1.22.8 darwin/arm64 ``` ## Cloning HyperSDK diff --git a/examples/morpheusvm/go.mod b/examples/morpheusvm/go.mod index 60cca14fb0..1ecaaba43a 100644 --- a/examples/morpheusvm/go.mod +++ b/examples/morpheusvm/go.mod @@ -1,6 +1,6 @@ module github.com/ava-labs/hypersdk/examples/morpheusvm -go 1.21.12 +go 1.22.8 require ( github.com/ava-labs/avalanchego v1.11.12-rc.2.0.20241001202925-f03745d187d0 diff --git a/examples/vmwithcontracts/go.mod b/examples/vmwithcontracts/go.mod index d2814207f9..9f2702d3f8 100644 --- a/examples/vmwithcontracts/go.mod +++ b/examples/vmwithcontracts/go.mod @@ -1,6 +1,6 @@ module github.com/ava-labs/hypersdk/examples/vmwithcontracts -go 1.21.12 +go 1.22.8 require ( github.com/ava-labs/avalanchego v1.11.12-rc.2.0.20241001202925-f03745d187d0 diff --git a/go.mod b/go.mod index 0072fe61c1..a225904a11 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ava-labs/hypersdk -go 1.21.12 +go 1.22.8 require ( github.com/ava-labs/avalanchego v1.11.12-rc.2.0.20241001202925-f03745d187d0