ci: bump to go 1.19

This commit is contained in:
Roy Lee 2022-08-12 02:23:56 -07:00
parent 6a93b80756
commit e055ed85c0
4 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
go: [1.17] go: [1.19]
steps: steps:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2

View file

@ -4,7 +4,7 @@ env:
# go needs absolute directories, using the $HOME variable doesn't work here. # go needs absolute directories, using the $HOME variable doesn't work here.
GOCACHE: /home/runner/work/go/pkg/build GOCACHE: /home/runner/work/go/pkg/build
GOPATH: /home/runner/work/go GOPATH: /home/runner/work/go
GO_VERSION: '^1.17.0' GO_VERSION: '^1.19.0'
on: on:
push: push:

View file

@ -8,13 +8,13 @@ GO_BIN := ${GOPATH}/bin
LINT_BIN := $(GO_BIN)/golangci-lint LINT_BIN := $(GO_BIN)/golangci-lint
GOACC_BIN := $(GO_BIN)/go-acc GOACC_BIN := $(GO_BIN)/go-acc
LINT_COMMIT := v1.18.0 LINT_COMMIT := v1.19.0
GOACC_COMMIT := 80342ae2e0fcf265e99e76bcc4efd022c7c3811b GOACC_COMMIT := 80342ae2e0fcf265e99e76bcc4efd022c7c3811b
DEPGET := cd /tmp && GO111MODULE=on go get -v DEPGET := cd /tmp && GO111MODULE=on go get -v
GOBUILD := GO111MODULE=on go build -v GOBUILD := GO111MODULE=on go build -v
GOINSTALL := GO111MODULE=on go install -v GOINSTALL := GO111MODULE=on go install -v
GOTEST := GO111MODULE=on go test GOTEST := GO111MODULE=on go test
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*") GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/lbryio/lbcutil module github.com/lbryio/lbcutil
go 1.17 go 1.19
require ( require (
github.com/aead/siphash v1.0.1 github.com/aead/siphash v1.0.1