We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eab72e commit 7f9da56Copy full SHA for 7f9da56
.github/workflows/unit.yml
@@ -22,7 +22,12 @@ jobs:
22
23
- name: Setup environment
24
run: |
25
- go get golang.org/x/tools/cmd/goimports
+ # Changing into a different directory to avoid polluting go.sum with "go get"
26
+ cd "$(mktemp -d)"
27
+ go mod init unit_tests
28
+
29
+ # Pin to a version that Go v1.15 supports
30
+ go get golang.org/x/tools/cmd/[email protected]
31
32
- name: Run go vet
33
0 commit comments