serverless #155
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- '**' # matches every branch | |
- '!main' # excludes main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tflint: | |
runs-on: ubuntu-latest | |
name: tflint | |
steps: | |
- uses: actions/checkout@master | |
- uses: terraform-linters/setup-tflint@v1 | |
with: | |
tflint_version: latest | |
- name: Show version | |
run: tflint --version | |
- name: Init tflint | |
run: tflint --init | |
- name: Run tflint | |
run: tflint -f compact |