feat: pre-authorized code error simulation #51
Workflow file for this run
This file contains hidden or 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: STS Mock - Pull Request Checks | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - ready_for_review | |
| - synchronize | |
| paths: | |
| - sts-mock/** | |
| - .github/workflows/sts-mock-pull-request-checks.yml | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| validate-docker-image: | |
| name: Validate Docker image | |
| uses: ./.github/workflows/validate-docker-image.yml | |
| with: | |
| working-directory: ./sts-mock | |
| validate-and-build-sam-template: | |
| name: Validate and build SAM template | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 15 | |
| env: | |
| SAM_CLI_TELEMETRY: 0 | |
| defaults: | |
| run: | |
| working-directory: ./sts-mock | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Set up SAM CLI | |
| uses: aws-actions/setup-sam@d78e1a4a9656d3b223e59b80676a797f20093133 # v2 | |
| with: | |
| version: 1.154.0 | |
| use-installer: true | |
| - name: Validate SAM template | |
| run: sam validate --lint | |
| - name: Build SAM template | |
| run: sam build |