chore: build with go 1.18.1
Adin Schmahmann committed
May 3, 2022 at 14:11 UTC
8ec5718c56c559e5e0d9a31a406953bf0382864d
4 files changed
+8
-8
.circleci/main.yml
+5
-5
@@ -36,7 +36,7 @@ default_environment: &default_environment
36
executors:
37
golang:
38
docker:
39
- - image: cimg/go:1.17.9
39
+ - image: cimg/go:1.18.1
40
working_directory: ~/ipfs/go-ipfs
41
environment:
42
<<: *default_environment
@@ -61,7 +61,7 @@ executors:
61
E2E_IPFSD_TYPE: go
62
dockerizer:
63
docker:
64
- - image: cimg/go:1.17.9
64
+ - image: cimg/go:1.18.1
65
environment:
66
IMAGE_NAME: ipfs/go-ipfs
67
WIP_IMAGE_TAG: wip
@@ -161,8 +161,8 @@ jobs:
161
- run: sudo apt update
162
- run: |
163
mkdir ~/localgo && cd ~/localgo
164
- wget https://golang.org/dl/go1.17.9.linux-amd64.tar.gz
165
- tar xfz go1.17.9.linux-amd64.tar.gz
164
+ wget https://golang.org/dl/go1.18.1.linux-amd64.tar.gz
165
+ tar xfz go1.18.1.linux-amd64.tar.gz
166
echo "export PATH=$(pwd)/go/bin:\$PATH" >> ~/.bashrc
167
- run: go version
168
- run: sudo apt install socat net-tools
@@ -228,7 +228,7 @@ jobs:
228
- *store_gomod
229
interop:
230
docker:
231
- - image: cimg/go:1.17.9-node
231
+ - image: cimg/go:1.18.1-node
232
parallelism: 4
233
resource_class: large
234
steps:
.github/workflows/golang-analysis.yml
+1
-1
@@ -11,7 +11,7 @@ jobs:
11
submodules: recursive
12
- uses: actions/setup-go@v2
13
with:
14
- go-version: "1.17.x"
14
+ go-version: "1.18.x"
15
- name: Check that go.mod is tidy
16
uses: protocol/multiple-go-modules@v1.2
17
with:
Dockerfile
+1
-1
@@ -1,5 +1,5 @@
1
# Note: when updating the go minor version here, also update the go-channel in snap/snapcraft.yml
2
-FROM golang:1.17.9-buster
2
+FROM golang:1.18.1-buster
3
LABEL maintainer="Steven Allen <steven@stebalien.com>"
4
5
# Install deps
snap/snapcraft.yaml
+1
-1
@@ -29,7 +29,7 @@ parts:
29
source-tag: master
30
plugin: go
31
# keep me up to date with the go version that go-ipfs expects to be built with.
32
- go-channel: 1.17/stable
32
+ go-channel: 1.18/stable
33
go-importpath: github.com/ipfs/go-ipfs
34
build-packages:
35
- build-essential