25 lines
600 B
YAML
25 lines
600 B
YAML
# Golang CircleCI 2.0 configuration file
|
|
#
|
|
# Check https://circleci.com/docs/2.0/language-go/ for more details
|
|
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/golang:1.12
|
|
working_directory: /go/src/github.com/hashicorp/packer
|
|
steps:
|
|
- checkout
|
|
- run: make ci
|
|
check-vendor-vs-mod:
|
|
docker:
|
|
- image: circleci/golang:1.12
|
|
working_directory: /go/src/github.com/hashicorp/packer
|
|
steps:
|
|
- checkout
|
|
- run: make check-vendor-vs-mod
|
|
workflows:
|
|
version: 2
|
|
build_and_check_vendor_vs_module:
|
|
jobs:
|
|
- build
|
|
- check-vendor-vs-mod |