Skip to content

Commit

Permalink
Merge pull request gophercloud#191 from shiftstack/pin_goimports
Browse files Browse the repository at this point in the history
Pin goimports to a version that Go v1.15 supports
  • Loading branch information
mandre authored May 23, 2023
2 parents 6eab72e + 7f9da56 commit de873b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit de873b9

Please sign in to comment.