For Terraform Provider developers, add Terraform Provider code linting to your GitHub repository easily with this GitHub Action. Uses tfproviderlint.
on: [pull_request, push]
jobs:
example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.0.0
- uses: bflad/tfproviderlint-github-action@master
with:
args: ./...
To locally test the Docker build:
$ docker build -t tfproviderlint-github-action:latest .