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) }