Skip to content

Commit 495b5e0

Browse files
committed
Improving pipeline
1 parent a96a078 commit 495b5e0

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.circleci/config.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
11
version: 2
22
jobs:
3-
build:
3+
check-format:
44
docker:
55
- image: hashicorp/terraform
66
steps:
77
- checkout
88
- run:
99
command: terraform fmt -check -recursive -diff
10+
validate:
11+
docker:
12+
- image: hashicorp/terraform
13+
steps:
14+
- checkout
1015
- run:
1116
working_directory: examples/test
1217
command: terraform init
1318
- run:
1419
working_directory: examples/test
1520
command: terraform validate
21+
22+
workflows:
23+
version: 2
24+
pipeline:
25+
jobs:
26+
- check-format
27+
- validate:
28+
requires:
29+
- check-format

0 commit comments

Comments
 (0)