From 8081dc332e5366039b368d687347b2c2229ff0a1 Mon Sep 17 00:00:00 2001 From: louiseli1 Date: Fri, 20 Sep 2024 11:33:35 +0100 Subject: [PATCH] BAU: Add lint to sam validate --- .github/workflows/post-merge-deploy-to-dev.yml | 2 +- .github/workflows/secure-post-merge.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post-merge-deploy-to-dev.yml b/.github/workflows/post-merge-deploy-to-dev.yml index 91ba940..9ea6579 100644 --- a/.github/workflows/post-merge-deploy-to-dev.yml +++ b/.github/workflows/post-merge-deploy-to-dev.yml @@ -26,7 +26,7 @@ jobs: aws-region: eu-west-2 - name: SAM Validate - run: sam validate --region ${{ env.AWS_REGION }} -t deploy/template.yaml + run: sam validate --region ${{ env.AWS_REGION }} -t deploy/template.yaml --lint - name: Login to Amazon ECR id: login-ecr diff --git a/.github/workflows/secure-post-merge.yml b/.github/workflows/secure-post-merge.yml index f90a763..66db4ac 100644 --- a/.github/workflows/secure-post-merge.yml +++ b/.github/workflows/secure-post-merge.yml @@ -26,7 +26,7 @@ jobs: aws-region: eu-west-2 - name: SAM Validate - run: sam validate --region ${{ env.AWS_REGION }} -t deploy/template.yaml + run: sam validate --region ${{ env.AWS_REGION }} -t deploy/template.yaml --lint # Likely source of node warning # https://github.com/aws-actions/amazon-ecr-login/issues/586