Last active
December 25, 2020 05:49
-
-
Save yokawasa/ed9f955bb317a4db829d1221ab983794 to your computer and use it in GitHub Desktop.
GitHub Actions - cloudformation lint actions performance comparision
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: "cloudformation lint test action" | |
on: | |
push: | |
branches: | |
- test-cfn-lint | |
paths: | |
- 'cfn/*' | |
jobs: | |
cfn-lint-test01: | |
name: "cfn lint test01" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- name: "Lint Template" | |
uses: scottbrenner/cfn-lint-action@master | |
with: | |
args: cfn/*.yaml | |
cfn-lint-test03: | |
name: "cfn lint test02" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9.1' | |
- name: Setup cfn-python-lint | |
run: pip install --no-cache-dir cfn-lint | |
- name: Execute lint check | |
run: cfn-lint cfn/*.yaml | |
cfn-lint-test02: | |
name: "cfn lint test03" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9.1' | |
- name: Setup cfn-python-lint | |
run: | | |
pip install --no-cache-dir cfn-lint | |
cfn-lint --update-specs | |
cfn-lint --update-iam-policies | |
- name: Execute lint check | |
run: cfn-lint cfn/*.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GHA run summary