build(deps): bump boto3 from 1.40.21 to 1.40.64 in /src/layer_utils #304
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: Thingpress Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| SAMLint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.13 | |
| - name: 'Install dependencies' | |
| run: | | |
| pip install -r ./requirements.txt | |
| pip install anybadge | |
| - name: Setup AWS SAM | |
| uses: aws-actions/setup-sam@f664fad9e12492edfc187a31f575537dfbb0ff63 | |
| - name: Validate template | |
| id: samlint | |
| run: sam validate --lint | |
| continue-on-error: true | |
| - name: Pass badge | |
| if: steps.samlint.outcome == 'success' | |
| run: | | |
| anybadge --overwrite --label "SAM Lint" --value "Passing" --file .github/samlint.svg Passing=green | |
| - name: Fail badge | |
| if: steps.samlint.outcome == 'failure' | |
| run: | | |
| anybadge --overwrite --label "SAM Lint" --value "Failure" --file .github/samlint.svg Failure=red | |
| - name: Run sam build | |
| id: sambuild | |
| run: sam build --parallel | |
| continue-on-error: true | |
| - name: Pass badge | |
| if: steps.sambuild.outcome == 'success' | |
| run: | | |
| anybadge --overwrite --label "SAM Build" --value "Passing" --file .github/sambuild.svg Passing=green | |
| - name: Fail badge | |
| if: steps.sambuild.outcome == 'failure' | |
| run: | | |
| anybadge --overwrite --label "SAM Build" --value "Failure" --file .github/sambuild.svg Failure=red | |
| - name: Verify Changed files | |
| uses: tj-actions/verify-changed-files@v20 | |
| id: verify-changed-files | |
| with: | |
| files: | | |
| .github/samlint.svg | |
| .github/sambuild.svg | |
| - name: 'Commit files' | |
| if: steps.verify-changed-files.outputs.files_changed == 'true' | |
| run: | | |
| git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
| git config --local user.name "github-actions[bot]" | |
| git add .github/samlint.svg .github/sambuild.svg | |
| git commit -m "Updated CI badges" .github/samlint.svg .github/sambuild.svg | |
| - name: 'Push changes' | |
| if: steps.verify-changed-files.outputs.files_changed == 'true' | |
| uses: ad-m/github-push-action@master | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| branch: ${{ github.ref }} |