File tree Expand file tree Collapse file tree 3 files changed +54
-29
lines changed
Expand file tree Collapse file tree 3 files changed +54
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Lint
2+ on :
3+ push :
4+ branches : [master]
5+ pull_request :
6+ jobs :
7+ build :
8+ runs-on : ['ubuntu-latest']
9+ steps :
10+ - uses : ' actions/checkout@v2'
11+ - uses : ' actions/setup-python@v2'
12+ with :
13+ python-version : ' 3.8'
14+ - name : yamlllint
15+ run : |
16+ pip install yamllint==1.35.1
17+ yamllint module.yml && yamllint test/*.yml
18+ - name : cfn-lint
19+ run : |
20+ pip install cfn-lint==1.20.1
21+ cfn-lint -i W3002 W2001 W1011 -t module.yml && cfn-lint -i W3002 W2001 W1011 -t test/*.yml # Remove W2001 after enabling SecondsUntilAutoPause
22+ - name : license
23+ run : |
24+ grep -q "LICENSE-2.0" module.yml
Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ push :
4+ branches : [master]
5+ pull_request :
6+ permissions :
7+ id-token : write
8+ contents : read
9+ concurrency :
10+ group : test
11+ cancel-in-progress : false
12+ jobs :
13+ build :
14+ runs-on : ['ubuntu-latest']
15+ steps :
16+ - uses : ' actions/checkout@v2'
17+ - uses : aws-actions/configure-aws-credentials@v4
18+ with :
19+ role-to-assume : ' arn:aws:iam::068189904525:role/github-openid-connect'
20+ aws-region : ' eu-west-1'
21+ - uses : actions/setup-node@v4
22+ with :
23+ node-version : ' 18.x'
24+ - name : test
25+ run : |
26+ npm ci
27+ cd test
28+ npm ci
29+ CFN_PACKAGE_BUCKET_NAME=cf-templates-1a2zmgbg9ut4o-eu-west-1 npm test
30+ cd -
You can’t perform that action at this time.
0 commit comments