diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 99e111f920..73057e8b61 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,5 +13,6 @@ updates: - dependency-name: "github.com/hashicorp/packer" - dependency-name: "github.com/hashicorp/hcl/v2" - dependency-name: "github.com/zclconf/go-cty" + - dependency-name: "github.com/mna/pigeon" ignore: - dependency-name: "github.com/aws/aws-sdk-go" diff --git a/Makefile b/Makefile index cf47cf1948..576b166b1c 100644 --- a/Makefile +++ b/Makefile @@ -9,13 +9,8 @@ default: install-build-deps install-gen-deps generate ci: testrace ## Test in continuous integration install-gen-deps: ## Install dependencies for code generation - # to avoid having to tidy our go deps, we `go get` our binaries from a temp - # dir. `go get` will change our deps and the following deps are not part of - # out code dependencies; so a go mod tidy will remove them again. `go - # install` seems to install the last tagged version and we want to install - # master. - @(cd $(TEMPDIR) && GO111MODULE=on go get github.com/mna/pigeon@master) - @(cd $(TEMPDIR) && GO111MODULE=on go get github.com/alvaroloes/enumer@master) + @go install github.com/mna/pigeon@v1.1.0 + @go install github.com/alvaroloes/enumer@master @go install github.com/hashicorp/packer-plugin-sdk/cmd/packer-sdc