Merge pull request #24 from BIBSYSDEV/bump-commons #257
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: Lint CloudFormation Templates | |
on: [ push,pull_request ] | |
jobs: | |
cloudformation-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Cloud Formation Linter with Latest Version | |
uses: scottbrenner/cfn-lint-action@v2 | |
- name: Print the Cloud Formation Linter Version & run Linter. | |
run: | | |
cfn-lint --version | |
cfn-lint -t ./template.yaml |