File tree Expand file tree Collapse file tree 5 files changed +91
-0
lines changed Expand file tree Collapse file tree 5 files changed +91
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : gomod
4
+ directory : " /"
5
+ schedule :
6
+ interval : weekly
7
+ open-pull-requests-limit : 10
8
+ - package-ecosystem : " github-actions"
9
+ directory : " /"
10
+ schedule :
11
+ interval : weekly
Original file line number Diff line number Diff line change
1
+ name : build
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+ schedule :
11
+ - cron : " 0 0 * * *"
12
+
13
+ jobs :
14
+ test :
15
+ name : ${{ matrix.os }}
16
+ runs-on : ${{ matrix.os }}
17
+ strategy :
18
+ matrix :
19
+ os : [ubuntu-latest, windows-latest]
20
+ steps :
21
+ - name : Checkout
22
+ uses : actions/checkout@v2
23
+ - name : Set up Go
24
+
25
+ with :
26
+ go-version : 1.15
27
+ - name : Run tests
28
+ run : make test
29
+ - name : Run build
30
+ run : make build
31
+ - name : Upload Artifact
32
+ uses : actions/upload-artifact@master
33
+ with :
34
+ name : tflint-ruleset-aws-${{ matrix.os }}
35
+ path : tflint-ruleset-aws
Original file line number Diff line number Diff line change
1
+ name : generated-code
2
+
3
+ on : pull_request
4
+
5
+ jobs :
6
+ checks :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout
10
+ uses : actions/checkout@master
11
+ with :
12
+ submodules : true
13
+ - name : Set up Go
14
+
15
+ with :
16
+ go-version : 1.15
17
+ - name : go generate and diff checks
18
+ run : go generate ./... && git diff --exit-code
Original file line number Diff line number Diff line change
1
+ name : release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' !*'
7
+ tags :
8
+ - v*.*.*
9
+
10
+ jobs :
11
+ goreleaser :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v2
16
+ - name : Set up Go
17
+
18
+ with :
19
+ go-version : 1.15
20
+ - name : Run GoReleaser
21
+ env :
22
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
+ VERSION : v0.143.0
24
+ run : curl -sL https://git.io/goreleaser | bash
Original file line number Diff line number Diff line change 1
1
# TFLint Ruleset for terraform-provider-aws
2
+ [ ![ Build Status] ( https://github.com/terraform-linters/tflint-ruleset-aws/workflows/build/badge.svg?branch=master )] ( https://github.com/terraform-linters/tflint-ruleset-aws/actions )
3
+ [ ![ GitHub release] ( https://img.shields.io/github/release/terraform-linters/tflint-ruleset-aws.svg )] ( https://github.com/terraform-linters/tflint-ruleset-aws/releases/latest )
4
+ [ ![ License: MPL 2.0] ( https://img.shields.io/badge/License-MPL%202.0-blue.svg )] ( LICENSE )
2
5
3
6
TFLint ruleset plugin for Terraform AWS Provider
4
7
You can’t perform that action at this time.
0 commit comments