Upgrade everything to go1.16 (#1539)

Co-authored-by: Ori Newman <orinewman1@gmail.com>
This commit is contained in:
Svarog 2021-02-21 09:17:21 +02:00 committed by GitHub
parent 06fd6f1b95
commit 5fa06fe7d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 10 additions and 10 deletions

View File

@ -34,7 +34,7 @@ jobs:
- name: Set up Go 1.x - name: Set up Go 1.x
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.15 go-version: 1.16
# Source: https://github.com/actions/cache/blob/main/examples.md#go---modules # Source: https://github.com/actions/cache/blob/main/examples.md#go---modules
@ -60,7 +60,7 @@ jobs:
- name: Set up Go 1.x - name: Set up Go 1.x
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.15 go-version: 1.16
- name: Create coverage file - name: Create coverage file
run: go test -covermode=atomic -coverpkg=./... -coverprofile coverage.txt ./... run: go test -covermode=atomic -coverpkg=./... -coverprofile coverage.txt ./...

View File

@ -18,7 +18,7 @@ Kaspa is an attempt at a proof-of-work cryptocurrency with instant confirmations
## Requirements ## Requirements
Go 1.15 or later. Go 1.16 or later.
## Installation ## Installation

View File

@ -4,7 +4,7 @@ kaspactl is an RPC client for kaspad
## Requirements ## Requirements
Go 1.15 or later. Go 1.16 or later.
## Installation ## Installation

View File

@ -1,5 +1,5 @@
# -- multistage docker build: stage #1: build stage # -- 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 RUN mkdir -p /go/src/github.com/kaspanet/kaspad

View File

@ -4,7 +4,7 @@ Kaspaminer is a CPU-based miner for kaspad
## Requirements ## Requirements
Go 1.15 or later. Go 1.16 or later.
## Installation ## Installation

View File

@ -1,5 +1,5 @@
# -- multistage docker build: stage #1: build stage # -- 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 RUN mkdir -p /go/src/github.com/kaspanet/kaspad

View File

@ -10,7 +10,7 @@ It is capable of generating wallet key-pairs, printing a wallet's current balanc
## Requirements ## Requirements
Go 1.15 or later. Go 1.16 or later.
## Installation ## Installation

View File

@ -1,5 +1,5 @@
# -- multistage docker build: stage #1: build stage # -- 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 RUN mkdir -p /go/src/github.com/kaspanet/kaspad

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/kaspanet/kaspad module github.com/kaspanet/kaspad
go 1.15 go 1.16
require ( require (
github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd