From d7bfc03fc58ed1eebd85ca59e4b4330e95d98fb5 Mon Sep 17 00:00:00 2001 From: Kishan B Date: Wed, 15 Sep 2021 14:49:43 +0530 Subject: [PATCH] Upgrade golang to 1.17 --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- go.mod | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f1c106..a3b3896 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.17 - name: Install dependencies run: | go mod download diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a61d25e..f3a9d21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.17 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/go.mod b/go.mod index 656912e..d1890d0 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,11 @@ module github.com/kishaningithub/randomtext -go 1.16 +go 1.17 require github.com/stretchr/testify v1.7.0 + +require ( + github.com/davecgh/go-spew v1.1.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect +)