Skip to content

Commit 5dccb3c

Browse files
authored
fix: Update CI workflow versions to latest (#26)
1 parent 719da5e commit 5dccb3c

File tree

10 files changed

+24
-25
lines changed

10 files changed

+24
-25
lines changed

.github/workflows/pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
# Please look up the latest version from
1616
# https://github.com/amannn/action-semantic-pull-request/releases
17-
- uses: amannn/action-semantic-pull-request@v5.4.0
17+
- uses: amannn/action-semantic-pull-request@v5.5.3
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
with:

.github/workflows/pre-commit.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
- master
88

99
env:
10-
TERRAFORM_DOCS_VERSION: v0.16.0
11-
TFLINT_VERSION: v0.50.3
10+
TERRAFORM_DOCS_VERSION: v0.19.0
11+
TFLINT_VERSION: v0.53.0
1212

1313
jobs:
1414
collectInputs:
@@ -45,14 +45,14 @@ jobs:
4545

4646
- name: Terraform min/max versions
4747
id: minMax
48-
uses: clowdhaus/[email protected].0
48+
uses: clowdhaus/[email protected].1
4949
with:
5050
directory: ${{ matrix.directory }}
5151

5252
- name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
5353
# Run only validate pre-commit check on min version supported
5454
if: ${{ matrix.directory != '.' }}
55-
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0
55+
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1
5656
with:
5757
terraform-version: ${{ steps.minMax.outputs.minVersion }}
5858
tflint-version: ${{ env.TFLINT_VERSION }}
@@ -61,7 +61,7 @@ jobs:
6161
- name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
6262
# Run only validate pre-commit check on min version supported
6363
if: ${{ matrix.directory == '.' }}
64-
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0
64+
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1
6565
with:
6666
terraform-version: ${{ steps.minMax.outputs.minVersion }}
6767
tflint-version: ${{ env.TFLINT_VERSION }}
@@ -88,10 +88,10 @@ jobs:
8888

8989
- name: Terraform min/max versions
9090
id: minMax
91-
uses: clowdhaus/[email protected].0
91+
uses: clowdhaus/[email protected].1
9292

9393
- name: Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }}
94-
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0
94+
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1
9595
with:
9696
terraform-version: ${{ steps.minMax.outputs.maxVersion }}
9797
tflint-version: ${{ env.TFLINT_VERSION }}

.pre-commit-config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.88.0
3+
rev: v1.96.1
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_docs
@@ -21,10 +21,9 @@ repos:
2121
- '--args=--only=terraform_required_providers'
2222
- '--args=--only=terraform_standard_module_structure'
2323
- '--args=--only=terraform_workspace_remote'
24-
- '--args=--only=terraform_unused_required_providers'
2524
- id: terraform_validate
2625
- repo: https://github.com/pre-commit/pre-commit-hooks
27-
rev: v4.5.0
26+
rev: v5.0.0
2827
hooks:
2928
- id: check-merge-conflict
3029
- id: end-of-file-fixer

examples/complete/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $ terraform apply
1616

1717
Run `terraform destroy` when you don't need these resources.
1818

19-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
19+
<!-- BEGIN_TF_DOCS -->
2020
## Requirements
2121

2222
| Name | Version |
@@ -58,4 +58,4 @@ No inputs.
5858
| <a name="output_pricing_resources"></a> [pricing\_resources](#output\_pricing\_resources) | Map of provided resources with filters |
5959
| <a name="output_pricing_total_price_per_hour"></a> [pricing\_total\_price\_per\_hour](#output\_pricing\_total\_price\_per\_hour) | Total price for all resources |
6060
| <a name="output_pricing_total_price_per_month"></a> [pricing\_total\_price\_per\_month](#output\_pricing\_total\_price\_per\_month) | Total price for all resources per month (730 hours) |
61-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
61+
<!-- END_TF_DOCS -->

examples/cost-modules-tf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $ terraform apply
1414

1515
Run `terraform destroy` when you don't need these resources.
1616

17-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
17+
<!-- BEGIN_TF_DOCS -->
1818
## Requirements
1919

2020
| Name | Version |
@@ -57,4 +57,4 @@ No inputs.
5757
| <a name="output_price_plan"></a> [price\_plan](#output\_price\_plan) | Costs for local file - plan |
5858
| <a name="output_price_tfstate"></a> [price\_tfstate](#output\_price\_tfstate) | Costs for local file - state |
5959
| <a name="output_price_tfstate_with_terraform_remote_state"></a> [price\_tfstate\_with\_terraform\_remote\_state](#output\_price\_tfstate\_with\_terraform\_remote\_state) | Costs for remote state |
60-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
60+
<!-- END_TF_DOCS -->

examples/pricing-dev/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $ terraform apply
1212

1313
Run `terraform destroy` when you don't need these resources.
1414

15-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
15+
<!-- BEGIN_TF_DOCS -->
1616
## Requirements
1717

1818
| Name | Version |
@@ -55,4 +55,4 @@ No inputs.
5555
| <a name="output_pricing_resources"></a> [pricing\_resources](#output\_pricing\_resources) | Map of provided resources with filters |
5656
| <a name="output_pricing_total_price_per_hour"></a> [pricing\_total\_price\_per\_hour](#output\_pricing\_total\_price\_per\_hour) | Total price for all resources |
5757
| <a name="output_pricing_total_price_per_month"></a> [pricing\_total\_price\_per\_month](#output\_pricing\_total\_price\_per\_month) | Total price for all resources per month (730 hours) |
58-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
58+
<!-- END_TF_DOCS -->

examples/pricing-resources/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $ terraform apply
1616

1717
Run `terraform destroy` when you don't need these resources.
1818

19-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
19+
<!-- BEGIN_TF_DOCS -->
2020
## Requirements
2121

2222
| Name | Version |
@@ -53,4 +53,4 @@ No inputs.
5353
| <a name="output_resources"></a> [resources](#output\_resources) | Map of provided resources with filters |
5454
| <a name="output_total_price_per_hour"></a> [total\_price\_per\_hour](#output\_total\_price\_per\_hour) | Total price for all resources |
5555
| <a name="output_total_price_per_month"></a> [total\_price\_per\_month](#output\_total\_price\_per\_month) | Total price for all resources per month (730 hours) |
56-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
56+
<!-- END_TF_DOCS -->

examples/pricing-terraform-state-and-plan/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $ terraform apply
1616

1717
Run `terraform destroy` when you don't need these resources.
1818

19-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
19+
<!-- BEGIN_TF_DOCS -->
2020
## Requirements
2121

2222
| Name | Version |
@@ -68,4 +68,4 @@ No inputs.
6868
| <a name="output_pricing_state_resources"></a> [pricing\_state\_resources](#output\_pricing\_state\_resources) | Map of provided resources with filters |
6969
| <a name="output_pricing_state_total_price_per_hour"></a> [pricing\_state\_total\_price\_per\_hour](#output\_pricing\_state\_total\_price\_per\_hour) | Total price for all resources |
7070
| <a name="output_pricing_state_total_price_per_month"></a> [pricing\_state\_total\_price\_per\_month](#output\_pricing\_state\_total\_price\_per\_month) | Total price for all resources per month (730 hours) |
71-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
71+
<!-- END_TF_DOCS -->

modules/cost.modules.tf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This module gets cost estimation from `cost.modules.tf` service based on the pro
66

77
See [repository terraform-cost-estimation](https://github.com/antonbabenko/terraform-cost-estimation) and [terraform-cost-estimation.com](https://www.terraform-cost-estimation.com/) for more information.
88

9-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
9+
<!-- BEGIN_TF_DOCS -->
1010
## Requirements
1111

1212
| Name | Version |
@@ -50,4 +50,4 @@ No modules.
5050
| <a name="output_costs"></a> [costs](#output\_costs) | Total costs |
5151
| <a name="output_hourly"></a> [hourly](#output\_hourly) | Hourly costs |
5252
| <a name="output_monthly"></a> [monthly](#output\_monthly) | Monthly costs |
53-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
53+
<!-- END_TF_DOCS -->

modules/pricing/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ add support for new types of resources.
2929

3030
`regions.tf` contains logic for expanding AWS regions map which is expected by Pricing API.
3131

32-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
32+
<!-- BEGIN_TF_DOCS -->
3333
## Requirements
3434

3535
| Name | Version |
@@ -82,4 +82,4 @@ No modules.
8282
| <a name="output_resources"></a> [resources](#output\_resources) | Map of provided resources with filters |
8383
| <a name="output_total_price_per_hour"></a> [total\_price\_per\_hour](#output\_total\_price\_per\_hour) | Total price for all resources per hour |
8484
| <a name="output_total_price_per_month"></a> [total\_price\_per\_month](#output\_total\_price\_per\_month) | Total price for all resources per month (730 hours) |
85-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
85+
<!-- END_TF_DOCS -->

0 commit comments

Comments
 (0)