forked from gophercloud/utils
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pin goimports to a version that Go v1.15 supports
until we bump the Go version in `go.mod`.
- Loading branch information
1 parent
6eab72e
commit 7f9da56
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,12 @@ jobs: | |
|
||
- name: Setup environment | ||
run: | | ||
go get golang.org/x/tools/cmd/goimports | ||
# Changing into a different directory to avoid polluting go.sum with "go get" | ||
cd "$(mktemp -d)" | ||
go mod init unit_tests | ||
# Pin to a version that Go v1.15 supports | ||
go get golang.org/x/tools/cmd/[email protected] | ||
- name: Run go vet | ||
run: | | ||
|