From fe5e71459332c36a3855a244d79fdbe8ec439e07 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 17 Aug 2020 08:40:27 -0700 Subject: [PATCH] migrate CI to go1.14, go1.15 (#3361) --- .github/workflows/go.yml | 2 +- cmd/diff-main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 68f91e83..244f1be0 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - go-version: [1.13.x] + go-version: [1.14.x, 1.15.x] os: [ubuntu-latest, windows-latest] steps: - name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }} diff --git a/cmd/diff-main.go b/cmd/diff-main.go index 3030b766..2c9e2fad 100644 --- a/cmd/diff-main.go +++ b/cmd/diff-main.go @@ -107,7 +107,7 @@ func (d diffMessage) JSON() string { d.Status = "success" diffJSONBytes, e := json.MarshalIndent(d, "", " ") fatalIf(probe.NewError(e), - "Unable to marshal diff message `"+d.FirstURL+"`, `"+d.SecondURL+"` and `"+string(d.Diff)+"`.") + "Unable to marshal diff message `"+d.FirstURL+"`, `"+d.SecondURL+"` and `"+fmt.Sprint(d.Diff)+"`.") return string(diffJSONBytes) }