diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9ac54e3ba..66a59c9ce 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -34,7 +34,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: 1.15 + go-version: 1.16 # Source: https://github.com/actions/cache/blob/main/examples.md#go---modules @@ -60,7 +60,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: 1.15 + go-version: 1.16 - name: Create coverage file run: go test -covermode=atomic -coverpkg=./... -coverprofile coverage.txt ./... diff --git a/README.md b/README.md index be2213baf..fa5628220 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Kaspa is an attempt at a proof-of-work cryptocurrency with instant confirmations ## Requirements -Go 1.15 or later. +Go 1.16 or later. ## Installation diff --git a/cmd/kaspactl/README.md b/cmd/kaspactl/README.md index 01f1e2c2b..cf0fcf7b5 100644 --- a/cmd/kaspactl/README.md +++ b/cmd/kaspactl/README.md @@ -4,7 +4,7 @@ kaspactl is an RPC client for kaspad ## Requirements -Go 1.15 or later. +Go 1.16 or later. ## Installation diff --git a/cmd/kaspactl/docker/Dockerfile b/cmd/kaspactl/docker/Dockerfile index 2dae764d4..ada893150 100644 --- a/cmd/kaspactl/docker/Dockerfile +++ b/cmd/kaspactl/docker/Dockerfile @@ -1,5 +1,5 @@ # -- multistage docker build: stage #1: build stage -FROM golang:1.15-alpine AS build +FROM golang:1.16-alpine AS build RUN mkdir -p /go/src/github.com/kaspanet/kaspad diff --git a/cmd/kaspaminer/README.md b/cmd/kaspaminer/README.md index acdd51b5c..26bdfa61f 100644 --- a/cmd/kaspaminer/README.md +++ b/cmd/kaspaminer/README.md @@ -4,7 +4,7 @@ Kaspaminer is a CPU-based miner for kaspad ## Requirements -Go 1.15 or later. +Go 1.16 or later. ## Installation diff --git a/cmd/kaspaminer/docker/Dockerfile b/cmd/kaspaminer/docker/Dockerfile index 3a7758ae2..63356a7e6 100644 --- a/cmd/kaspaminer/docker/Dockerfile +++ b/cmd/kaspaminer/docker/Dockerfile @@ -1,5 +1,5 @@ # -- multistage docker build: stage #1: build stage -FROM golang:1.15-alpine AS build +FROM golang:1.16-alpine AS build RUN mkdir -p /go/src/github.com/kaspanet/kaspad diff --git a/cmd/wallet/README.md b/cmd/wallet/README.md index 36cd5f580..f0d9ce982 100644 --- a/cmd/wallet/README.md +++ b/cmd/wallet/README.md @@ -10,7 +10,7 @@ It is capable of generating wallet key-pairs, printing a wallet's current balanc ## Requirements -Go 1.15 or later. +Go 1.16 or later. ## Installation diff --git a/docker/Dockerfile b/docker/Dockerfile index d67142840..4f17ddf94 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,5 @@ # -- multistage docker build: stage #1: build stage -FROM golang:1.15-alpine AS build +FROM golang:1.16-alpine AS build RUN mkdir -p /go/src/github.com/kaspanet/kaspad diff --git a/go.mod b/go.mod index 6c95f6940..8cc86ed03 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kaspanet/kaspad -go 1.15 +go 1.16 require ( github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd