File tree Expand file tree Collapse file tree 4 files changed +62
-38
lines changed
Expand file tree Collapse file tree 4 files changed +62
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ jobs :
2+ lint :
3+ env :
4+ AWS_ACCESS_KEY_ID : " ${{ secrets.AWS_ACCESS_KEY_ID }}"
5+ AWS_DEFAULT_REGION : " ${{ secrets.AWS_DEFAULT_REGION }}"
6+ AWS_SECRET_ACCESS_KEY : " ${{ secrets.AWS_SECRET_ACCESS_KEY }}"
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v1
10+ - uses : hashicorp/setup-terraform@v1
11+ with :
12+ terraform_version : 0.12.24
13+ - run : terraform fmt -check -recursive
14+ - run : terraform init
15+ - run : terraform validate
16+ name : Format and validate
17+ " on " :
18+ pull_request :
Original file line number Diff line number Diff line change 1+ jobs :
2+ release :
3+ env :
4+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v1
8+ - uses : cycjimmy/semantic-release-action@v2.1.3
9+ with :
10+ branch : master
11+ extra_plugins : |
12+ @semantic-release/changelog
13+ @semantic-release/git@8.0.0
14+ name : Create release
15+ " on " :
16+ push :
17+ branches :
18+ - master
Original file line number Diff line number Diff line change 1+ jobs :
2+ test :
3+ env :
4+ AWS_ACCESS_KEY_ID : " ${{ secrets.AWS_ACCESS_KEY_ID }}"
5+ AWS_DEFAULT_REGION : " ${{ secrets.AWS_DEFAULT_REGION }}"
6+ AWS_SECRET_ACCESS_KEY : " ${{ secrets.AWS_SECRET_ACCESS_KEY }}"
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - uses : actions/setup-go@v2
11+ with :
12+ go-version : ^1.14.2
13+ - uses : actions/cache@v1
14+ with :
15+ key : " ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}"
16+ path : ~/go/pkg/mod
17+ restore-keys : |
18+ ${{ runner.os }}-go-
19+ - uses : hashicorp/setup-terraform@v1
20+ with :
21+ terraform_version : 0.12.24
22+ terraform_wrapper : false
23+ - run : go test -count=1 -timeout=45m ./...
24+ name : Run Terratest
25+ " on " :
26+ pull_request :
You can’t perform that action at this time.
0 commit comments