Skip to content

Commit

Permalink
Merge pull request #17 from replicatedhq/joshs/SC-107930/deprecations
Browse files Browse the repository at this point in the history
TF workflow deprecations
  • Loading branch information
dydx authored Sep 6, 2024
2 parents bc351d4 + 2068677 commit 3152a61
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/_validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
validate:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: Validate workflows
run: |
npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/terraform-apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Download plan
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.planName }}
path: ${{ inputs.envPath }}

- name: Setup terraform
uses: hashicorp/setup-terraform@v2
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.4.6

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/terraform-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup terraform
uses: hashicorp/setup-terraform@v2
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.4.6

Expand All @@ -64,7 +64,7 @@ jobs:
terraform plan -out=${{ inputs.planName }}
- name: 'Upload Plan'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.planName }}
path: ${{ inputs.envPath }}/${{ inputs.planName }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/terraform-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
#
# steps:
# - name: Checkout repo
# uses: actions/checkout@v2
# uses: actions/checkout@v4
#
# - name: Run checkov scan on ${{ inputs.envPath }}
# run: checkov --quiet --compact -d ${{ inputs.envPath }}
Expand All @@ -50,7 +50,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run terraform fmt
run: terraform fmt -recursive -check -diff
Expand All @@ -62,7 +62,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run terraform validate
env:
Expand Down

0 comments on commit 3152a61

Please sign in to comment.