Skip to content

Add CODEOWNERS file, reformat TF files, and update README.md #145

Add CODEOWNERS file, reformat TF files, and update README.md

Add CODEOWNERS file, reformat TF files, and update README.md #145

Workflow file for this run

name: CI
on:
push:
branches:
- "feature/**"
- "bugfix/**"
pull_request:
types: [opened, reopened, assigned, synchronize]
branches: [master, develop]
jobs:
terraform:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.3.3
terraform_wrapper: false
- name: Check Terraform format and syntax
id: test
run: make test
tflint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout source code
- uses: actions/cache@v3
name: Cache plugin dir
with:
path: ~/.tflint.d/plugins
key: ubuntu-latest-tflint-${{ hashFiles('.tflint.hcl') }}
- uses: terraform-linters/setup-tflint@v3
name: Setup TFLint
with:
tflint_version: v0.47.0
- name: Show version
run: tflint --version
- name: Init TFLint
run: tflint --init
env:
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting
GITHUB_TOKEN: ${{ github.token }}
- name: Run TFLint
run: tflint -f compact