Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #185 from protocol/fix-copy-workflow
Browse files Browse the repository at this point in the history
update Go version in copy workflow, run go fix recursively
  • Loading branch information
marten-seemann authored Aug 20, 2021
2 parents 2bd14bb + 063ce8e commit 6197249
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/copy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -116,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.
Expand Down

0 comments on commit 6197249

Please sign in to comment.