Skip to content

Commit

Permalink
fix: Correct syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Oct 29, 2022
1 parent b4a7994 commit 0451d74
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16

Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
branches:
- main

env:
TERRAFORM_DOCS_VERSION: v0.16.0

jobs:
collectInputs:
name: Collect workflow inputs
Expand All @@ -19,7 +16,7 @@ jobs:
directories: ${{ steps.dirs.outputs.directories }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Get root directories
id: dirs
Expand All @@ -34,7 +31,7 @@ jobs:
directory: ${{ fromJson(needs.collectInputs.outputs.directories) }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Terraform min/max versions
id: minMax
Expand Down
7 changes: 7 additions & 0 deletions tests/0.12/main.tf → tests/0.12/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ provider "aws" {

terraform {
required_version = "~> 0.12"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.27"
}
}
}
2 changes: 1 addition & 1 deletion tests/0.13/main.tf → tests/0.13/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.9"
version = ">= 4.27"
}
}
}

0 comments on commit 0451d74

Please # to comment.