We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d692377 commit f1d1235Copy full SHA for f1d1235
.github/workflows/pull_request.yaml
@@ -8,17 +8,19 @@ on:
8
jobs:
9
validate-template-code:
10
runs-on: ubuntu-latest
11
+
12
steps:
13
- name: Checkout code
14
uses: actions/checkout@v4
15
16
- name: Install AWS SAM CLI
17
run: |
- pip install aws-sam-cli
18
+ pip install --user aws-sam-cli
19
20
- name: Validate SAM Templates
21
- for template in $(find . -name ".yaml" -o -name ".yml"); do
22
- echo "Validating template: $template"
23
- sam validate --template-file "$template" --region us-east-2 --lint
24
- done
+ for template in $(find . -name "*.yaml" -o -name "*.yml"); do
+ echo "Validating template: $template"
+ sam validate --template-file "$template" --region us-east-2 --lint
25
+ done
26
+ shell: bash
0 commit comments