Skip to content

Commit 890687f

Browse files
committed
cleanup
1 parent 854e558 commit 890687f

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
distribution: 'corretto'
2525
cache: maven
2626

27-
- name: Setup AWS SAM
28-
uses: aws-actions/setup-sam@v2
29-
with:
30-
use-installer: true
31-
3227
- name: Setup AWS SAM
3328
uses: aws-actions/setup-sam@v2
3429
with:
@@ -37,13 +32,12 @@ jobs:
3732
- name: SAM Build
3833
run: sam build
3934

40-
- name: Setup Cloud Formation Linter with Latest Version
35+
- name: Install and run cfn-lint
4136
uses: scottbrenner/cfn-lint-action@v2
37+
with:
38+
command: cfn-lint -t ./template.yml
4239

43-
- name: Print the Cloud Formation Linter Version & run Linter.
44-
run: |
45-
cfn-lint --version
46-
cfn-lint -t ./template.yaml
40+
4741

4842

4943

0 commit comments

Comments
 (0)