mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-19 09:47:07 +00:00
Compare commits
No commits in common. "main" and "v3" have entirely different histories.
18 changed files with 7062 additions and 10319 deletions
|
|
@ -5,9 +5,6 @@ project {
|
||||||
copyright_year = 2020
|
copyright_year = 2020
|
||||||
|
|
||||||
header_ignore = [
|
header_ignore = [
|
||||||
# internal catalog metadata (prose)
|
|
||||||
"META.d/**/*.yaml",
|
|
||||||
|
|
||||||
# changie tooling configuration and CHANGELOG entries (prose)
|
# changie tooling configuration and CHANGELOG entries (prose)
|
||||||
".changes/unreleased/*.yaml",
|
".changes/unreleased/*.yaml",
|
||||||
".changie.yaml",
|
".changie.yaml",
|
||||||
|
|
|
||||||
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
|
@ -1 +1 @@
|
||||||
* @hashicorp/terraform-core-plugins
|
* @hashicorp/terraform-devex
|
||||||
|
|
|
||||||
12
.github/dependabot.yml
vendored
12
.github/dependabot.yml
vendored
|
|
@ -4,14 +4,10 @@ updates:
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
# Dependabot only updates hashicorp GHAs, external GHAs are managed by internal tooling (tsccr)
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: "github-actions"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
groups:
|
|
||||||
"github-actions":
|
|
||||||
patterns:
|
|
||||||
- "*" # Group all GitHub Actions dependencies together
|
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "daily"
|
||||||
day: "monday"
|
allow:
|
||||||
time: "09:00"
|
- dependency-name: "hashicorp/*"
|
||||||
timezone: "Etc/UTC"
|
|
||||||
|
|
|
||||||
16
.github/pull_request_template.md
vendored
16
.github/pull_request_template.md
vendored
|
|
@ -1,16 +0,0 @@
|
||||||
## Related Issue
|
|
||||||
|
|
||||||
Fixes # <!-- INSERT ISSUE NUMBER -->
|
|
||||||
|
|
||||||
## Description
|
|
||||||
|
|
||||||
In plain English, describe your approach to addressing the issue linked above. For example, if you made a particular design decision, let us know why you chose this path instead of another solution.
|
|
||||||
|
|
||||||
<!-- heimdall_github_prtemplate:grc-pci_dss-2024-01-05 -->
|
|
||||||
## Rollback Plan
|
|
||||||
|
|
||||||
- [ ] If a change needs to be reverted, we will roll out an update to the code within 7 days.
|
|
||||||
|
|
||||||
## Changes to Security Controls
|
|
||||||
|
|
||||||
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
|
|
||||||
4
.github/workflows/ci-changie.yml
vendored
4
.github/workflows/ci-changie.yml
vendored
|
|
@ -15,8 +15,8 @@ jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
- uses: miniscruff/changie-action@5036dffa79ffc007110dc7f75eca7ef72780e147 # v2.1.0
|
- uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: batch patch --dry-run
|
args: batch patch --dry-run
|
||||||
|
|
|
||||||
2
.github/workflows/compliance.yml
vendored
2
.github/workflows/compliance.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
copywrite:
|
copywrite:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
- uses: hashicorp/setup-copywrite@32638da2d4e81d56a0764aa1547882fc4d209636 # v1.1.3
|
- uses: hashicorp/setup-copywrite@32638da2d4e81d56a0764aa1547882fc4d209636 # v1.1.3
|
||||||
- run: copywrite headers --plan
|
- run: copywrite headers --plan
|
||||||
- run: copywrite license --plan
|
- run: copywrite license --plan
|
||||||
4
.github/workflows/continuous-integration.yml
vendored
4
.github/workflows/continuous-integration.yml
vendored
|
|
@ -9,14 +9,14 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
check-dist:
|
check-dist:
|
||||||
name: Check dist/ directory
|
name: Check dist/ directory
|
||||||
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@95d9656793415e47f574f7967f3850ea3bf5a7ed
|
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@a8533f184b279cfc1b2dd6a96ed2f097ccf81189
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
node-caching: npm
|
node-caching: npm
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@95d9656793415e47f574f7967f3850ea3bf5a7ed
|
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@a8533f184b279cfc1b2dd6a96ed2f097ccf81189
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
node-caching: npm
|
node-caching: npm
|
||||||
|
|
|
||||||
3
.github/workflows/lock.yml
vendored
3
.github/workflows/lock.yml
vendored
|
|
@ -12,9 +12,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
# NOTE: When TSCCR updates the GitHub action version, update the template workflow file to avoid drift:
|
# NOTE: When TSCCR updates the GitHub action version, update the template workflow file to avoid drift:
|
||||||
# https://github.com/hashicorp/terraform-devex-repos/blob/main/modules/repo/workflows/lock.tftpl
|
# https://github.com/hashicorp/terraform-devex-repos/blob/main/modules/repo/workflows/lock.tftpl
|
||||||
- uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0
|
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
|
||||||
with:
|
with:
|
||||||
process-only: 'issues, prs'
|
|
||||||
github-token: ${{ github.token }}
|
github-token: ${{ github.token }}
|
||||||
issue-inactive-days: '30'
|
issue-inactive-days: '30'
|
||||||
issue-lock-reason: resolved
|
issue-lock-reason: resolved
|
||||||
|
|
|
||||||
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
|
@ -33,19 +33,19 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
# Avoid persisting GITHUB_TOKEN credentials as they take priority over our service account PAT for `git push` operations
|
# Avoid persisting GITHUB_TOKEN credentials as they take priority over our service account PAT for `git push` operations
|
||||||
# More details: https://github.com/actions/checkout/blob/b4626ce19ce1106186ddf9bb20e706842f11a7c3/adrs/0153-checkout-v2.md#persist-credentials
|
# More details: https://github.com/actions/checkout/blob/b4626ce19ce1106186ddf9bb20e706842f11a7c3/adrs/0153-checkout-v2.md#persist-credentials
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- name: Batch changes
|
- name: Batch changes
|
||||||
uses: miniscruff/changie-action@5036dffa79ffc007110dc7f75eca7ef72780e147 # v2.1.0
|
uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: batch ${{ needs.changelog-version.outputs.version }}
|
args: batch ${{ needs.changelog-version.outputs.version }}
|
||||||
- name: Merge changes
|
- name: Merge changes
|
||||||
uses: miniscruff/changie-action@5036dffa79ffc007110dc7f75eca7ef72780e147 # v2.1.0
|
uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: merge
|
args: merge
|
||||||
|
|
@ -62,7 +62,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
# Default input is the SHA that initially triggered the workflow. As we created a new commit in the previous job,
|
# Default input is the SHA that initially triggered the workflow. As we created a new commit in the previous job,
|
||||||
|
|
@ -73,7 +73,7 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
|
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: Update package version
|
- name: Update package version
|
||||||
|
|
@ -91,7 +91,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
# Default input is the SHA that initially triggered the workflow. As we created a new commit in the previous job,
|
# Default input is the SHA that initially triggered the workflow. As we created a new commit in the previous job,
|
||||||
|
|
@ -117,7 +117,7 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # Needed to create GitHub release
|
contents: write # Needed to create GitHub release
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.versionNumber }}
|
ref: ${{ inputs.versionNumber }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
|
||||||
28
.github/workflows/setup-terraform.yml
vendored
28
.github/workflows/setup-terraform.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
terraform-versions: [0.11.14, latest]
|
terraform-versions: [0.11.14, latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform - ${{ matrix['terraform-versions'] }}
|
- name: Setup Terraform - ${{ matrix['terraform-versions'] }}
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
terraform-versions: [0.11.14, latest]
|
terraform-versions: [0.11.14, latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform (no wrapper) - ${{ matrix['terraform-versions'] }}
|
- name: Setup Terraform (no wrapper) - ${{ matrix['terraform-versions'] }}
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -69,7 +69,7 @@ jobs:
|
||||||
terraform-versions: [~0.12, 0.12.x, <0.13.0]
|
terraform-versions: [~0.12, 0.12.x, <0.13.0]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform - ${{ matrix['terraform-versions'] }}
|
- name: Setup Terraform - ${{ matrix['terraform-versions'] }}
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -88,7 +88,7 @@ jobs:
|
||||||
terraform-versions: [~0.12, 0.12.x, <0.13.0]
|
terraform-versions: [~0.12, 0.12.x, <0.13.0]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform (no wrapper) - ${{ matrix['terraform-versions'] }}
|
- name: Setup Terraform (no wrapper) - ${{ matrix['terraform-versions'] }}
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -109,7 +109,7 @@ jobs:
|
||||||
TF_CLOUD_API_TOKEN: 'XXXXXXXXXXXXXX.atlasv1.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
TF_CLOUD_API_TOKEN: 'XXXXXXXXXXXXXX.atlasv1.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform
|
- name: Setup Terraform
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -138,7 +138,7 @@ jobs:
|
||||||
TF_CLOUD_API_TOKEN: 'XXXXXXXXXXXXXX.atlasv1.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
TF_CLOUD_API_TOKEN: 'XXXXXXXXXXXXXX.atlasv1.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform
|
- name: Setup Terraform
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -166,7 +166,7 @@ jobs:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform
|
- name: Setup Terraform
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -189,7 +189,7 @@ jobs:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform
|
- name: Setup Terraform
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -220,7 +220,7 @@ jobs:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform
|
- name: Setup Terraform
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -257,7 +257,7 @@ jobs:
|
||||||
working-directory: ./.github/workflows/data/local
|
working-directory: ./.github/workflows/data/local
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform
|
- name: Setup Terraform
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -287,7 +287,7 @@ jobs:
|
||||||
working-directory: ./.github/workflows/data/local
|
working-directory: ./.github/workflows/data/local
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform
|
- name: Setup Terraform
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -316,7 +316,7 @@ jobs:
|
||||||
working-directory: ./.github/workflows/data/local
|
working-directory: ./.github/workflows/data/local
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform
|
- name: Setup Terraform
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -349,7 +349,7 @@ jobs:
|
||||||
working-directory: ./.github/workflows/data/local
|
working-directory: ./.github/workflows/data/local
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform
|
- name: Setup Terraform
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
@ -383,7 +383,7 @@ jobs:
|
||||||
working-directory: ./.github/workflows/data/delay
|
working-directory: ./.github/workflows/data/delay
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||||
|
|
||||||
- name: Setup Terraform
|
- name: Setup Terraform
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
---
|
|
||||||
schema: 1.1
|
|
||||||
|
|
||||||
partition: tf-ecosystem
|
|
||||||
category: github-action
|
|
||||||
|
|
||||||
summary:
|
|
||||||
owner: team-tf-core-plugins
|
|
||||||
description: |
|
|
||||||
Sets up Terraform CLI in your GitHub Actions workflow.
|
|
||||||
visibility: public
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# Copyright (c) HashiCorp, Inc.
|
|
||||||
# SPDX-License-Identifier: MPL-2.0
|
|
||||||
|
|
||||||
data_summary:
|
|
||||||
gdpr:
|
|
||||||
exempt: true
|
|
||||||
|
|
@ -100,7 +100,7 @@ steps:
|
||||||
|
|
||||||
- name: Terraform Init
|
- name: Terraform Init
|
||||||
id: init
|
id: init
|
||||||
run: terraform init -input=false
|
run: terraform init
|
||||||
|
|
||||||
- name: Terraform Validate
|
- name: Terraform Validate
|
||||||
id: validate
|
id: validate
|
||||||
|
|
@ -108,7 +108,7 @@ steps:
|
||||||
|
|
||||||
- name: Terraform Plan
|
- name: Terraform Plan
|
||||||
id: plan
|
id: plan
|
||||||
run: terraform plan -no-color -input=false
|
run: terraform plan -no-color
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- uses: actions/github-script@v7
|
- uses: actions/github-script@v7
|
||||||
|
|
@ -168,7 +168,7 @@ steps:
|
||||||
|
|
||||||
- name: Terraform Init
|
- name: Terraform Init
|
||||||
id: init
|
id: init
|
||||||
run: terraform init -input=false
|
run: terraform init
|
||||||
|
|
||||||
- name: Terraform Validate
|
- name: Terraform Validate
|
||||||
id: validate
|
id: validate
|
||||||
|
|
@ -176,7 +176,7 @@ steps:
|
||||||
|
|
||||||
- name: Terraform Plan
|
- name: Terraform Plan
|
||||||
id: plan
|
id: plan
|
||||||
run: terraform plan -no-color -input=false
|
run: terraform plan -no-color
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- uses: actions/github-script@v7
|
- uses: actions/github-script@v7
|
||||||
|
|
|
||||||
7986
dist/index.js
vendored
7986
dist/index.js
vendored
File diff suppressed because one or more lines are too long
2737
dist/index1.js
vendored
2737
dist/index1.js
vendored
File diff suppressed because one or more lines are too long
6093
package-lock.json
generated
6093
package-lock.json
generated
File diff suppressed because it is too large
Load diff
18
package.json
18
package.json
|
|
@ -18,18 +18,18 @@
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.11.1",
|
"@actions/core": "^1.10.1",
|
||||||
"@actions/exec": "^1.1.1",
|
"@actions/exec": "^1.1.1",
|
||||||
"@actions/github": "^6.0.1",
|
"@actions/github": "^6.0.0",
|
||||||
"@actions/io": "^2.0.0",
|
"@actions/io": "^1.1.3",
|
||||||
"@actions/tool-cache": "^2.0.2",
|
"@actions/tool-cache": "^2.0.1",
|
||||||
"@hashicorp/js-releases": "^1.7.5",
|
"@hashicorp/js-releases": "^1.7.3",
|
||||||
"semver": "^7.7.3"
|
"semver": "^7.6.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vercel/ncc": "^0.38.4",
|
"@vercel/ncc": "^0.38.1",
|
||||||
"jest": "^30.2.0",
|
"jest": "^29.7.0",
|
||||||
"nock": "^14.0.10",
|
"nock": "^13.5.4",
|
||||||
"semistandard": "^17.0.0"
|
"semistandard": "^17.0.0"
|
||||||
},
|
},
|
||||||
"semistandard": {
|
"semistandard": {
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,6 @@ describe('output-listener', () => {
|
||||||
listen(Buffer.from('third write'));
|
listen(Buffer.from('third write'));
|
||||||
expect(mockWrite.mock.lastCall[0]).toStrictEqual(Buffer.from('third write'));
|
expect(mockWrite.mock.lastCall[0]).toStrictEqual(Buffer.from('third write'));
|
||||||
|
|
||||||
expect(mockWrite).toHaveBeenCalledTimes(3);
|
expect(mockWrite).toBeCalledTimes(3);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue