File tree Expand file tree Collapse file tree 5 files changed +73
-15
lines changed Expand file tree Collapse file tree 5 files changed +73
-15
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,8 @@ README.md
22.github/workflows/*
33.terraform-docs.yml
44docs/20-badges.md
5+ docs/assets/logo.svg
56*.tf
7+ test/*
8+ go.mod
9+ go.sum
Original file line number Diff line number Diff line change 1+ ---
2+ # #############################
3+ # # Dependabot configuration ##
4+ # #############################
5+
6+ #
7+ # Documentation:
8+ # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates
9+ #
10+
11+ version : 2
12+ updates :
13+ # Maintain dependencies for GitHub Actions
14+ - package-ecosystem : " github-actions"
15+ directory : " /"
16+ schedule :
17+ interval : " daily"
18+ open-pull-requests-limit : 0
19+
20+ # Maintain dependencies for Terraform Providers
21+ - package-ecosystem : " terraform"
22+ directory : " /"
23+ schedule :
24+ interval : " daily"
25+ open-pull-requests-limit : 0
26+
27+ # Maintain dependencies for Golang
28+ - package-ecosystem : " gomod"
29+ directory : " /"
30+ schedule :
31+ interval : " daily"
32+ open-pull-requests-limit : 0
Original file line number Diff line number Diff line change 55
66...
77
8- ## How this PR fixes it
9-
10- ...
11-
128## Readiness Checklist
139
1410### Author/Contributor
Original file line number Diff line number Diff line change 1- name : Test
1+ ---
2+ # ##############
3+ # # Run tests ##
4+ # ##############
5+
6+ #
7+ # Documentation:
8+ # https://help.github.com/en/articles/workflow-syntax-for-github-actions
9+ #
210
11+ name : Test
312on :
413 pull_request :
5- workflow_dispatch :
614 push :
715 branches : [ main ]
816
9- permissions :
10- id-token : write
11- contents : read
12-
17+ # #########################
18+ # Prevent duplicate jobs #
19+ # #########################
1320concurrency :
1421 group : ${{ github.repository }}
1522 cancel-in-progress : false
1623
24+ permissions :
25+ id-token : write
26+ contents : read
27+
28+ # ##############
29+ # Run the job #
30+ # ##############
1731jobs :
18- test :
19- name : Terraform Tests
32+ terratest :
33+ name : Terratest
2034 runs-on : ubuntu-latest
2135 steps :
36+ # ###########################
37+ # Checkout the source code #
38+ # ###########################
2239 - name : Checkout
2340 uses : actions/checkout@v3
2441
@@ -32,11 +49,18 @@ jobs:
3249 aws-region : ${{ vars.AWS_TESTING_REGION }}
3350 mask-aws-account-id : false
3451
52+ # ###############
53+ # Setup Golang #
54+ # ###############
3555 - name : Set up Go
3656 uses : actions/setup-go@v4
3757 with :
3858 go-version-file : ' go.mod'
3959
60+ # ############
61+ # Run tests #
62+ # ############
4063 - name : Run Tests
64+ timeout-minutes : 30
4165 working-directory : test
42- run : go test -v -timeout 30m
66+ run : go test -v
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/antonbabenko/pre-commit-terraform
3- rev : v1.76 .0
3+ rev : v1.80 .0
44 hooks :
55 - id : terraform_docs
66 - id : terraform_fmt
77 - id : terraform_validate
8+ args :
9+ - --hook-config=--retry-once-with-cleanup=true
810 exclude : ' ^[^/]+$'
911 - id : terraform_tflint
1012 exclude : ^examples/
1113
1214 - repo : https://github.com/pre-commit/pre-commit-hooks
13- rev : v4.3 .0
15+ rev : v4.4 .0
1416 hooks :
1517 - id : trailing-whitespace
1618 - id : end-of-file-fixer
You can’t perform that action at this time.
0 commit comments