Skip to content

Commit a03105d

Browse files
committed
Fix golangci-lint v2 config and TFLint path filter
1 parent 37862d7 commit a03105d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/tflint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ on:
55
branches: ["main"]
66
paths:
77
- 'examples/**/*.tf'
8+
- '.tflint.hcl'
89
- '.github/workflows/tflint.yml'
910
pull_request:
1011
branches: ["main"]
1112
paths:
1213
- 'examples/**/*.tf'
14+
- '.tflint.hcl'
1315
- '.github/workflows/tflint.yml'
1416

1517
permissions:

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# golangci-lint configuration
22
# https://golangci-lint.run/usage/configuration/
33

4+
version: "2"
5+
46
run:
57
timeout: 5m
68
modules-download-mode: readonly

0 commit comments

Comments
 (0)