From dc6c041aeb84ae1e3aa53dd8e07e539f553a5ea0 Mon Sep 17 00:00:00 2001 From: Kelly Merrick Date: Fri, 6 Aug 2021 14:25:58 -0500 Subject: [PATCH] chore: update go version to 1.16 (#192) --- .github/workflows/release.yml | 2 +- .github/workflows/reviewdog.yml | 4 ++-- .github/workflows/schema.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/validate.yml | 2 +- go.mod | 2 +- version/metadata_test.go | 2 +- version/version_test.go | 6 +++--- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fdcf93bd..b7f35df4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: release: runs-on: ubuntu-latest container: - image: golang:1.15 + image: golang:1.16 steps: - name: clone uses: actions/checkout@v2 diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index ee38a036..1c7bc7e1 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -10,7 +10,7 @@ jobs: diff-review: runs-on: ubuntu-latest container: - image: golang:1.15 + image: golang:1.16 steps: - name: clone uses: actions/checkout@v2 @@ -27,7 +27,7 @@ jobs: full-review: runs-on: ubuntu-latest container: - image: golang:1.15 + image: golang:1.16 steps: - name: clone uses: actions/checkout@v2 diff --git a/.github/workflows/schema.yml b/.github/workflows/schema.yml index 50260a9e..cda968ae 100644 --- a/.github/workflows/schema.yml +++ b/.github/workflows/schema.yml @@ -11,7 +11,7 @@ jobs: schema: runs-on: ubuntu-latest container: - image: golang:1.15 + image: golang:1.16 steps: - name: clone uses: actions/checkout@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d3bbe84..15c9b8fe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: test: runs-on: ubuntu-latest container: - image: golang:1.15 + image: golang:1.16 steps: - name: clone uses: actions/checkout@v2 diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 50b30bc5..948d3776 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -12,7 +12,7 @@ jobs: validate: runs-on: ubuntu-latest container: - image: golang:1.15 + image: golang:1.16 steps: - name: clone uses: actions/checkout@v2 diff --git a/go.mod b/go.mod index 9db1f3e6..7bd33862 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/go-vela/types -go 1.15 +go 1.16 require ( github.com/buildkite/yaml v0.0.0-20181016232759-0caa5f0796e3 diff --git a/version/metadata_test.go b/version/metadata_test.go index 31877363..6149c579 100644 --- a/version/metadata_test.go +++ b/version/metadata_test.go @@ -17,7 +17,7 @@ func TestVersion_Metadata_String(t *testing.T) { BuildDate: "1970-1-1T00:00:00Z", Compiler: "gc", GitCommit: "abcdef123456789", - GoVersion: "1.15.0", + GoVersion: "1.16.0", OperatingSystem: "llinux", } diff --git a/version/version_test.go b/version/version_test.go index 8b4f391e..11b1344f 100644 --- a/version/version_test.go +++ b/version/version_test.go @@ -23,7 +23,7 @@ func TestVersion_Version_Meta(t *testing.T) { BuildDate: "1970-1-1T00:00:00Z", Compiler: "gc", GitCommit: "abcdef123456789", - GoVersion: "1.15.0", + GoVersion: "1.16.0", OperatingSystem: "llinux", }, } @@ -51,7 +51,7 @@ func TestVersion_Version_Semantic(t *testing.T) { BuildDate: "1970-1-1T00:00:00Z", Compiler: "gc", GitCommit: "abcdef123456789", - GoVersion: "1.15.0", + GoVersion: "1.16.0", OperatingSystem: "llinux", }, } @@ -79,7 +79,7 @@ func TestVersion_Version_String(t *testing.T) { BuildDate: "1970-1-1T00:00:00Z", Compiler: "gc", GitCommit: "abcdef123456789", - GoVersion: "1.15.0", + GoVersion: "1.16.0", OperatingSystem: "llinux", }, }