From e740dc351950c52efa81135fda866750ea7d4b2d Mon Sep 17 00:00:00 2001 From: k-yomo Date: Sat, 8 Jan 2022 02:44:26 +0900 Subject: [PATCH] Update Go version to 1.17 --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 2 +- go.mod | 8 +++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4029ef..8f03a39 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,10 +13,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Set up Go 1.16 + - name: Set up Go 1.17 uses: actions/setup-go@v2 with: - go-version: 1.16.x + go-version: 1.17.x - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1a493d9..0d4e8ac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,9 +26,9 @@ jobs: fail-fast: false matrix: go-version: - - '1.14.x' - '1.15.x' - '1.16.x' + - '1.17.x' steps: - name: Set up Go uses: actions/setup-go@v2.1.3 diff --git a/go.mod b/go.mod index 5dbe463..5f6b321 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/k-yomo/fixtory -go 1.16 +go 1.17 require ( github.com/fatih/color v1.13.0 @@ -8,3 +8,9 @@ require ( golang.org/x/mod v0.5.1 golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect ) + +require ( + github.com/mattn/go-colorable v0.1.9 // indirect + github.com/mattn/go-isatty v0.0.14 // indirect + golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect +)