From 66c8567a27ad48d0c2f705884ca235fec4147b90 Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Sun, 7 Aug 2022 23:15:05 -0700 Subject: [PATCH] ci: bump to Go 1.19 --- .github/workflows/basic-check.yml | 2 +- .github/workflows/full-sync-part-1.yml | 2 +- .github/workflows/full-sync-part-2.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/release.yml | 2 +- Dockerfile | 2 +- README.md | 2 +- go.mod | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/basic-check.yml b/.github/workflows/basic-check.yml index 43399646..7493189a 100644 --- a/.github/workflows/basic-check.yml +++ b/.github/workflows/basic-check.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [1.18.2] + go: [1.19] steps: - name: Set up Go uses: actions/setup-go@v2 diff --git a/.github/workflows/full-sync-part-1.yml b/.github/workflows/full-sync-part-1.yml index 9d13a84b..fd7164fe 100644 --- a/.github/workflows/full-sync-part-1.yml +++ b/.github/workflows/full-sync-part-1.yml @@ -14,7 +14,7 @@ jobs: runs-on: self-hosted strategy: matrix: - go: [1.18.2] + go: [1.19] steps: - run: | echo "Note ${{ github.event.inputs.note }}!" diff --git a/.github/workflows/full-sync-part-2.yml b/.github/workflows/full-sync-part-2.yml index f7f95c84..5babd4e7 100644 --- a/.github/workflows/full-sync-part-2.yml +++ b/.github/workflows/full-sync-part-2.yml @@ -14,7 +14,7 @@ jobs: runs-on: self-hosted strategy: matrix: - go: [1.18.2] + go: [1.19] steps: - run: | echo "Note ${{ github.event.inputs.note }}!" diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 1d58c316..83e4cbee 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -4,7 +4,7 @@ env: # go needs absolute directories, using the $HOME variable doesn't work here. GOCACHE: /home/runner/work/go/pkg/build GOPATH: /home/runner/work/go - GO_VERSION: '^1.18.2' + GO_VERSION: '^1.19' on: push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a54ac02b..281f88a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.18.2 + go-version: 1.19 # Login against a Docker registry except on PR # https://github.com/docker/login-action diff --git a/Dockerfile b/Dockerfile index 912841ec..3065cd9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ ARG ARCH=amd64 -FROM golang:1.18.2 AS build-container +FROM golang:1.19 AS build-container ARG ARCH diff --git a/README.md b/README.md index daceea8d..4c3116d9 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Using a fast NVMe disk is recommended. Acquire binary files from [releases](https://github.com/lbryio/lbcd/releases) -For compilation, [Go](http://golang.org) 1.18 or newer is required. +For compilation, [Go](http://golang.org) 1.19 or newer is required. Install Go according to its [installation instructions](http://golang.org/doc/install). ``` sh diff --git a/go.mod b/go.mod index 852c0428..5d51ab74 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/lbryio/lbcd -go 1.18 +go 1.19 require ( github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f