Skip to content

Commit 052e14c

Browse files
committed
Update CI and build go versions to go1.22
1 parent 314efff commit 052e14c

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Install Golang
1414
uses: actions/setup-go@v4
1515
with:
16-
go-version: '1.21.x'
16+
go-version: '1.22.x'
1717
- name: Build rvsol
1818
run: forge build
1919
working-directory: rvsol
@@ -38,7 +38,7 @@ jobs:
3838
- name: Install Golang
3939
uses: actions/setup-go@v5
4040
with:
41-
go-version: '1.21.x'
41+
go-version: '1.22.x'
4242
- name: Build FFI
4343
run: go build
4444
working-directory: rvgo/scripts/go-ffi
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/checkout@v4
6767
- uses: actions/setup-go@v5
6868
with:
69-
go-version: '1.21.x'
69+
go-version: '1.22.x'
7070
cache: false
7171
- name: golangci-lint
7272
uses: golangci/golangci-lint-action@v4
@@ -83,7 +83,7 @@ jobs:
8383
- name: Install Golang
8484
uses: actions/setup-go@v5
8585
with:
86-
go-version: '1.21.x'
86+
go-version: '1.22.x'
8787
- name: Check if optimism submodule version matches go.mod version
8888
run: ./.github/scripts/check_versions.sh
8989

@@ -96,7 +96,7 @@ jobs:
9696
run: git submodule update --init
9797
- uses: actions/setup-go@v5
9898
with:
99-
go-version: '1.21.x'
99+
go-version: '1.22.x'
100100
- name: Build asterisc
101101
run: make build-rvgo && cp rvgo/bin/asterisc tests/op-program-test/
102102
- name: Build op-program

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/ethereum-optimism/asterisc
22

3-
go 1.21
3+
go 1.22
44

5-
toolchain go1.21.1
5+
toolchain go1.22.7
66

77
replace github.com/ethereum/go-ethereum v1.14.8 => github.com/ethereum-optimism/op-geth v1.101408.0-rc.4.0.20240827042333-110c433a2469
88

tests/go-tests/minimal/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module minimal
22

3-
go 1.21
3+
go 1.22
44

5-
toolchain go1.21.1
5+
toolchain go1.22.7

tests/go-tests/simple/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module simple
22

3-
go 1.21
3+
go 1.22
44

5-
toolchain go1.21.1
5+
toolchain go1.22.7
66

77
require (
88
github.com/ethereum-optimism/optimism v1.7.3

0 commit comments

Comments
 (0)