mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 10:47:51 +08:00
Merge pull request #7944 from ipfs/chore/update-go-version
chore: bump minimum go version to 1.15
This commit is contained in:
commit
56472f9cf0
@ -33,7 +33,7 @@ default_environment: &default_environment
|
||||
executors:
|
||||
golang:
|
||||
docker:
|
||||
- image: circleci/golang:1.14.4
|
||||
- image: circleci/golang:1.15.2
|
||||
working_directory: ~/ipfs/go-ipfs
|
||||
environment:
|
||||
<<: *default_environment
|
||||
@ -60,7 +60,7 @@ executors:
|
||||
E2E_IPFSD_TYPE: go
|
||||
dockerizer:
|
||||
docker:
|
||||
- image: circleci/golang:1.14.4
|
||||
- image: circleci/golang:1.15.2
|
||||
environment:
|
||||
IMAGE_NAME: ipfs/go-ipfs
|
||||
WIP_IMAGE_TAG: wip
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# Note: when updating the go minor version here, also update the go-channel in snap/snapcraft.yml
|
||||
FROM golang:1.14.4-buster
|
||||
FROM golang:1.15.2-buster
|
||||
LABEL maintainer="Steven Allen <steven@stebalien.com>"
|
||||
|
||||
# Install deps
|
||||
|
||||
@ -160,7 +160,7 @@ PS> scoop install go-ipfs
|
||||
|
||||
### Build from Source
|
||||
|
||||
go-ipfs's build system requires Go 1.14.4 and some standard POSIX build tools:
|
||||
go-ipfs's build system requires Go 1.15.2 and some standard POSIX build tools:
|
||||
|
||||
* GNU make
|
||||
* Git
|
||||
@ -170,7 +170,7 @@ To build without GCC, build with `CGO_ENABLED=0` (e.g., `make build CGO_ENABLED=
|
||||
|
||||
#### Install Go
|
||||
|
||||
The build process for ipfs requires Go 1.14.4 or higher. If you don't have it: [Download Go 1.14+](https://golang.org/dl/).
|
||||
The build process for ipfs requires Go 1.15.2 or higher. If you don't have it: [Download Go 1.15+](https://golang.org/dl/).
|
||||
|
||||
You'll need to add Go's bin directories to your `$PATH` environment variable e.g., by adding these lines to your `/etc/profile` (for a system-wide installation) or `$HOME/.profile`:
|
||||
|
||||
|
||||
2
go.mod
2
go.mod
@ -108,4 +108,4 @@ require (
|
||||
golang.org/x/sys v0.0.0-20210503173754-0981d6026fa6
|
||||
)
|
||||
|
||||
go 1.14
|
||||
go 1.15
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# golang utilities
|
||||
GO_MIN_VERSION = 1.14.4
|
||||
GO_MIN_VERSION = 1.15.2
|
||||
export GO111MODULE=on
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user