Skip to content

Commit 5053e6f

Browse files
authored
bump go version to v1.22 (#26)
1 parent c7315ef commit 5053e6f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Diff for: .github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
components: rustfmt, clippy
3535
- uses: actions/setup-go@v4
3636
with:
37-
go-version: '1.21'
37+
go-version: '1.22'
3838
- uses: actions/cache@v3
3939
with:
4040
path: |

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
toolchain: stable
4040
- uses: actions/setup-go@v4
4141
with:
42-
go-version: "1.21"
42+
go-version: "1.22"
4343
- uses: actions/cache@v3
4444
with:
4545
path: |

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This repo contains both Rust and Go code. The rust code is compiled into a dll/s
1313

1414
## Support Platform
1515

16-
Requires Rust 1.77+ and Go 1.21.5+.
16+
Requires Rust 1.77+ and Go 1.22+.
1717

1818
The Rust implementation of the VM is compiled to a library called libmovevm. This is then linked to the Go code when the final binary is built. For that reason not all systems supported by Go are supported by this project.
1919

Diff for: builders/Dockerfile.alpine

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# 1. Build the static Rust library
33
# 2. Execute Go tests that use and test this library
44
# For 2. we define the Go image here. For 1. we install Rust below.
5-
FROM golang:1.21-alpine
5+
FROM golang:1.22-alpine
66

77
ENV RUSTUP_HOME=/usr/local/rustup \
88
CARGO_HOME=/usr/local/cargo \

Diff for: go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/initia-labs/movevm
22

3-
go 1.21.5
3+
go 1.22
44

55
require (
66
github.com/aptos-labs/serde-reflection/serde-generate/runtime/golang v0.0.0-20231213012317-73b6bbf74833

0 commit comments

Comments
 (0)