Skip to content

Commit

Permalink
Merge pull request nozaq#6 from nozaq/use-latest
Browse files Browse the repository at this point in the history
chore: use the latest version of Terraform in CI workflows
  • Loading branch information
nozaq authored Dec 17, 2019
2 parents b875da8 + 36f7964 commit 0c44cea
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Terraform
on: [push, pull_request]

env:
TF_ACTIONS_VERSION: latest
jobs:
check-format:
name: Check format
Expand All @@ -12,7 +13,7 @@ jobs:
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.15
tf_actions_version: ${{ env.TF_ACTIONS_VERSION }}
tf_actions_subcommand: 'fmt'
tf_actions_working_dir: '.'
tf_actions_comment: true
Expand All @@ -29,7 +30,7 @@ jobs:
- name: 'Terraform Init - examples/simple-nodejs'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.15
tf_actions_version: ${{ env.TF_ACTIONS_VERSION }}
tf_actions_subcommand: 'init'
tf_actions_working_dir: './examples/simple-nodejs'
tf_actions_comment: true
Expand All @@ -39,7 +40,7 @@ jobs:
- name: 'Terraform Validate - examples/simple-nodejs'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.15
tf_actions_version: ${{ env.TF_ACTIONS_VERSION }}
tf_actions_subcommand: 'validate'
tf_actions_working_dir: './examples/simple-nodejs'
tf_actions_comment: true
Expand All @@ -49,7 +50,7 @@ jobs:
- name: 'Terraform Init - examples/simple-py'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.15
tf_actions_version: ${{ env.TF_ACTIONS_VERSION }}
tf_actions_subcommand: 'init'
tf_actions_working_dir: './examples/simple-py'
tf_actions_comment: true
Expand All @@ -59,7 +60,7 @@ jobs:
- name: 'Terraform Validate - examples/simple-py'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.15
tf_actions_version: ${{ env.TF_ACTIONS_VERSION }}
tf_actions_subcommand: 'validate'
tf_actions_working_dir: './examples/simple-py'
tf_actions_comment: true
Expand Down

0 comments on commit 0c44cea

Please sign in to comment.