Skip to content

Commit 821be36

Browse files
authored
Merge pull request #435 from filecoin-project/ci-update-go-120
fix: use Go 1.20 on CircleCI
2 parents 441fa8e + e48bcc3 commit 821be36

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ orbs:
66
executors:
77
golang:
88
docker:
9-
- image: cimg/go:1.18
9+
- image: cimg/go:1.20
1010
resource_class: small
1111
environment:
1212
# Build the kernel only for the single architecture. This should reduce
@@ -56,7 +56,7 @@ jobs:
5656
type: boolean
5757
default: true
5858
machine:
59-
image: ubuntu-2204:current
59+
image: ubuntu-2204:2023.07.2
6060
resource_class: arm.large
6161
working_directory: ~/go/src/github.com/filecoin-project/filecoin-ffi
6262
steps:
@@ -234,7 +234,7 @@ commands:
234234
- run:
235235
name: Install Go
236236
command: |
237-
curl https://dl.google.com/go/go1.17.9.darwin-amd64.pkg -o /tmp/go.pkg && \
237+
curl https://dl.google.com/go/go1.20.10.darwin-amd64.pkg -o /tmp/go.pkg && \
238238
sudo installer -pkg /tmp/go.pkg -target /
239239
go version
240240
- run:

cgo/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ type PoStProofGo struct {
9191
Proof []byte
9292
}
9393

94-
/// FvmMachineExecuteResponse is a go allocated version of `FvmMachineExecuteResponse`.
94+
// FvmMachineExecuteResponse is a go allocated version of `FvmMachineExecuteResponse`.
9595
type FvmMachineExecuteResponseGo struct {
9696
ExitCode uint64
9797
ReturnVal []byte

0 commit comments

Comments
 (0)