Skip to content

Commit

Permalink
BAU: Add lint to sam validate
Browse files Browse the repository at this point in the history
  • Loading branch information
louiseli1 committed Oct 18, 2024
1 parent cb6f6a7 commit 8081dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/post-merge-deploy-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/secure-post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8081dc3

Please sign in to comment.