From 604e68f825a1d02437aa8ab422612fe629242381 Mon Sep 17 00:00:00 2001 From: Maxim Samoilov Date: Sat, 7 Aug 2021 16:10:15 +0300 Subject: [PATCH] Update to go 1.16 --- .github/workflows/release.yaml | 8 ++------ .tool-versions | 1 + go.mod | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) create mode 100644 .tool-versions diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9a52c94..1b70bf3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,13 +18,9 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set RELEASE_VERSION - id: get_version - run: echo ::set-output name=RELEASE_VERSION::${GITHUB_REF/refs\/tags\//} - - - uses: wangyoucao577/go-release-action@v1.5 + - uses: wangyoucao577/go-release-action@v1.19 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - goversion: "1.14" + goversion: "1.16" diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..9f117be --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +golang 1.16 diff --git a/go.mod b/go.mod index 53e5278..b4a75f2 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/Nitive/kubectl-current-context -go 1.14 +go 1.16 require gopkg.in/yaml.v2 v2.3.0