mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-26 13:03:37 +00:00
[COMPLIANCE] Add copyright and license headers
This commit is contained in:
parent
4b600ccc98
commit
c1463d3b99
8 changed files with 38 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
name: 'HashiCorp - Setup Terraform'
|
name: 'HashiCorp - Setup Terraform'
|
||||||
description: 'Sets up Terraform CLI in your GitHub Actions workflow.'
|
description: 'Sets up Terraform CLI in your GitHub Actions workflow.'
|
||||||
author: 'HashiCorp, Inc.'
|
author: 'HashiCorp, Inc.'
|
||||||
|
|
|
||||||
5
index.js
5
index.js
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
|
|
||||||
const setup = require('./lib/setup-terraform');
|
const setup = require('./lib/setup-terraform');
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
// Node.js core
|
// Node.js core
|
||||||
const fs = require('fs').promises;
|
const fs = require('fs').promises;
|
||||||
const os = require('os');
|
const os = require('os');
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
// Mock external modules by default
|
// Mock external modules by default
|
||||||
jest.mock('@actions/core');
|
jest.mock('@actions/core');
|
||||||
jest.mock('@actions/tool-cache');
|
jest.mock('@actions/tool-cache');
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Acts as a listener for @actions/exec, by capturing STDOUT and STDERR
|
* Acts as a listener for @actions/exec, by capturing STDOUT and STDERR
|
||||||
* streams, and exposing them via a contents attribute.
|
* streams, and exposing them via a contents attribute.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
const os = require('os');
|
const os = require('os');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
const io = require('@actions/io');
|
const io = require('@actions/io');
|
||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
const { exec } = require('@actions/exec');
|
const { exec } = require('@actions/exec');
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) HashiCorp, Inc.
|
||||||
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
const OutputListener = require('../lib/output-listener');
|
const OutputListener = require('../lib/output-listener');
|
||||||
|
|
||||||
describe('output-listener', () => {
|
describe('output-listener', () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue