From b1f603f00135438f8a6a6d1f7d002ea87fffcf82 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Thu, 19 Aug 2021 19:23:13 +0200 Subject: [PATCH 1/2] update Go version to 1.17.x in copy workflow --- .github/workflows/copy-workflow.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/copy-workflow.yml b/.github/workflows/copy-workflow.yml index 1ea5865a..15d66220 100644 --- a/.github/workflows/copy-workflow.yml +++ b/.github/workflows/copy-workflow.yml @@ -48,8 +48,7 @@ jobs: with: # This should be the same Go version we use in the go-check workflow. # go mod tidy, go vet, staticcheck and gofmt might behave differently depending on the version. - stable: 'false' - go-version: "1.17.0-rc1" + go-version: "1.17.x" - name: git config working-directory: ${{ env.TARGET_REPO_DIR }} run: | From 063ce8ec35f84463be9d80789d6d90f68afef468 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Fri, 20 Aug 2021 13:06:52 +0200 Subject: [PATCH 2/2] recursive go fix --- .github/workflows/copy-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/copy-workflow.yml b/.github/workflows/copy-workflow.yml index 15d66220..cf229f12 100644 --- a/.github/workflows/copy-workflow.yml +++ b/.github/workflows/copy-workflow.yml @@ -115,7 +115,7 @@ jobs: # In the future, "go fix" may make changes to Go code, # such as to adapt to language changes or API deprecations. # This is largely a no-op as of Go 1.17, and that's fine. - go fix + go fix ./... git add . # We don't tidy, because the next step does that.