Add go mod tidy check for Go 1.17

This commit is contained in:
Wilken Rivera 2021-10-27 12:44:53 -04:00
parent 722f996bb0
commit 0bafe97b51
2 changed files with 7 additions and 1 deletions

View file

@ -77,6 +77,12 @@ jobs:
steps:
- install-go-run-tests-windows:
GOVERSION: "1.17"
check-mod-tidy:
executor: golang
working_directory: /go/src/github.com/hashicorp/packer
steps:
- checkout
- run: go mod tidy -compat=1.17
check-lint:
executor: golang
resource_class: xlarge

View file

@ -70,7 +70,7 @@ runtime in order to build packer.
1. This project always releases from the latest version of golang.
[Install go](https://golang.org/doc/install#install) To properly build from
source, you need to have golang >= v1.16
source, you need to have golang >= v1.17
## Setting up Packer for dev