diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c1fbaac..4e1ecbc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -53,7 +53,7 @@ jobs: uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Setup Node - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 + uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: node-version-file: '.nvmrc' cache: npm diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cfdbf3b..eb9b2ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 + - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: node-version-file: '.nvmrc' cache: npm @@ -54,7 +54,7 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 + - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: node-version-file: '.nvmrc' - name: Set up Xvfb (Ubuntu) diff --git a/test/fixtures/actions.tf b/test/fixtures/actions.tf index 9d76340..9b3c2e2 100644 --- a/test/fixtures/actions.tf +++ b/test/fixtures/actions.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { # code that needs to be formatted } diff --git a/test/fixtures/ai/main.tf b/test/fixtures/ai/main.tf index e69de29..48753c8 100644 --- a/test/fixtures/ai/main.tf +++ b/test/fixtures/ai/main.tf @@ -0,0 +1,3 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + diff --git a/test/fixtures/ai/variables.tf b/test/fixtures/ai/variables.tf index bd15470..39c0175 100644 --- a/test/fixtures/ai/variables.tf +++ b/test/fixtures/ai/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "agi" { default = false } diff --git a/test/fixtures/compute/main.tf b/test/fixtures/compute/main.tf index 01e27c4..d9d0d1a 100644 --- a/test/fixtures/compute/main.tf +++ b/test/fixtures/compute/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "google_compute_network" "vpc_network" { name = "terraform-network" diff --git a/test/fixtures/compute/outputs.tf b/test/fixtures/compute/outputs.tf index 1b9c988..a4a0ff9 100644 --- a/test/fixtures/compute/outputs.tf +++ b/test/fixtures/compute/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "ip" { value = google_compute_instance.vm_instance.network_interface[0].network_ip } \ No newline at end of file diff --git a/test/fixtures/compute/variables.tf b/test/fixtures/compute/variables.tf index 3bb0713..27059bc 100644 --- a/test/fixtures/compute/variables.tf +++ b/test/fixtures/compute/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "instance_name" { type = string description = "Name of the compute instance" diff --git a/test/fixtures/empty.tf b/test/fixtures/empty.tf index e69de29..48753c8 100644 --- a/test/fixtures/empty.tf +++ b/test/fixtures/empty.tf @@ -0,0 +1,3 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + diff --git a/test/fixtures/main.tf b/test/fixtures/main.tf index 2ac3866..1dac69f 100644 --- a/test/fixtures/main.tf +++ b/test/fixtures/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { google = { diff --git a/test/fixtures/sample.tf b/test/fixtures/sample.tf index 7252cf3..17e8932 100644 --- a/test/fixtures/sample.tf +++ b/test/fixtures/sample.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "vault" { } diff --git a/test/fixtures/terraform.tfvars b/test/fixtures/terraform.tfvars index add029e..1b95a04 100644 --- a/test/fixtures/terraform.tfvars +++ b/test/fixtures/terraform.tfvars @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + zone = "us-central1-c" diff --git a/test/fixtures/variables.tf b/test/fixtures/variables.tf index 4d97f1b..22b7557 100644 --- a/test/fixtures/variables.tf +++ b/test/fixtures/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "project" { type = string }