Skip to content

Merge pull request #1709 from GSA-TTS/dependabot/npm_and_yarn/inspect… #364

Merge pull request #1709 from GSA-TTS/dependabot/npm_and_yarn/inspect…

Merge pull request #1709 from GSA-TTS/dependabot/npm_and_yarn/inspect… #364

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on every commit.
on:
push:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Validate terraform (with the side-effect of installing the right
# version of terraform based on required_version constraints)
- name: validate
uses: dflook/terraform-validate@v1
with:
path: terraform
# Check terraform files are formatted correctly (terraform fmt -check)
- name: fmt
uses: dflook/terraform-fmt-check@v1
with:
path: terraform
# Runs terraform lint
- name: lint
uses: actionshub/terraform-lint@main
# Runs tfsec
- name: tfsec
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
# Runs Checkov
- name: Run Checkov action
id: checkov
uses: bridgecrewio/checkov-action@master
with:
directory: terraform/