File tree Expand file tree Collapse file tree 3 files changed +29
-26
lines changed Expand file tree Collapse file tree 3 files changed +29
-26
lines changed Original file line number Diff line number Diff line change 1+ name : CloudFormation Validation
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ workflow_dispatch :
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : CloudFormation Template Validation
19+ run : |
20+ pip install awscli
21+ aws cloudformation validate-template --template-body file://serverless-code-pipeline-cf-template.yml --region us-east-1
22+ env :
23+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
24+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
25+ - name : CloudFormation Linter
26+ run : |
27+ pip install cfn-lint
28+ cfn-lint -I serverless-code-pipeline-cf-template.yml
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# aws-serverless-code-pipeline-cf-template
2- [ ![ Build Status ] ( https://travis-ci.org /getcft/aws-serverless-code-pipeline-cf-template. svg?branch=master )] ( https://travis-ci.org /getcft/aws-serverless-code-pipeline-cf-template )
2+ [ ![ CloudFormation Validation ] ( https://github.com /getcft/aws-serverless-code-pipeline-cf-template/actions/workflows/cloudformation-validation.yml/badge. svg )] ( https://github.com /getcft/aws-serverless-code-pipeline-cf-template/actions/workflows/cloudformation-validation.yml )
33
44AWS CloudFormation template creating CodePipeline, CodeBuild supporting Serverless Framework and GitHub
55
You can’t perform that action at this time.
0 commit comments