Bump version to v2.4.0 #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Template | |
on: | |
push: | |
paths: | |
- ".github/workflows/validate-template.yml" | |
- "./template.yml" | |
workflow_dispatch: | |
jobs: | |
validate-template: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
environment: test | |
steps: | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- uses: aws-actions/setup-sam@v1 | |
- name: sam fix https://github.com/aws/aws-sam-cli/issues/4527 | |
run: $(dirname $(readlink $(which sam)))/pip install --force-reinstall "cryptography==38.0.4" | |
- uses: aws-actions/configure-aws-credentials@master | |
with: | |
role-to-assume: arn:aws:iam::${{ secrets.AwsAccount }}:role/github-actions-role | |
aws-region: us-east-1 | |
- uses: actions/checkout@v3 | |
- name: Validate template | |
run: sam build && sam validate |