fix dependencies that were breaking the darwin/arm64 build #507
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The homebrew darwin/arm64 build is broken due to some dependencies.
Steps to reproduce:
Download the build via curl: curl https://codeload.github.com/accurics/terrascan/tar.gz/v1.3.0 > v1.3.0.tar.gz
Extract, then run:
GOOS=darwin GOARCH=arm64 go1.16beta1 build -trimpath -o terrascan ./cmd/terrascan
.../go/pkg/mod/github.com/hashicorp/go-getter@v1.5.1/get_git.go:20:2: missing go.sum entry for module providing package github.com/hashicorp/go-version; try 'go mod tidy' to add it
pkg/cli/run.go:30:2: missing go.sum entry for module providing package github.com/mattn/go-isatty; try 'go mod tidy' to add it
pkg/iac-providers/kustomize/v3/load-dir.go:11:2: missing go.sum entry for module providing package sigs.k8s.io/kustomize/api/filesys; try 'go mod tidy' to add it
pkg/iac-providers/kustomize/v3/load-dir.go:12:2: missing go.sum entry for module providing package sigs.k8s.io/kustomize/api/krusty; try 'go mod tidy' to add it
The updated files are provided via go mod tidy.