Skip to content

Commit b3ce3ef

Browse files
committed
fixed ci
1 parent 5568338 commit b3ce3ef

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@ jobs:
5252
- name: TFLint init
5353
run: tflint --init || true
5454
- name: TFLint root
55-
run: tflint -c .tflint.hcl .
55+
run: tflint --chdir . -c .tflint.hcl
5656
- name: TFLint metric-filter module
57-
run: tflint -c .tflint.hcl modules/metric-filter
57+
run: tflint --chdir modules/metric-filter -c ../.tflint.hcl
5858
- name: TFLint subscription-filter module
59-
run: tflint -c .tflint.hcl modules/subscription-filter
59+
run: tflint --chdir modules/subscription-filter -c ../.tflint.hcl
6060
- name: TFLint examples (metric)
61-
run: tflint -c .tflint.hcl examples/metric_filter_basic
61+
run: tflint --chdir examples/metric_filter_basic -c ../../.tflint.hcl
6262
- name: TFLint examples (subscription)
63-
run: tflint -c .tflint.hcl examples/subscription_filter_basic
64-
63+
run: tflint --chdir examples/subscription_filter_basic -c ../../.tflint.hcl

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Terraform local artifacts
2+
**/.terraform/
3+
**/.terraform.lock.hcl
4+
*.tfstate
5+
*.tfstate.backup
6+
7+
# TFLint local config
8+
.tflint.hcl.local
9+
10+
# OS/editor junk
11+
.DS_Store
12+
.idea/
13+
.vscode/

0 commit comments

Comments
 (0)