Bump ChimeSMALibrary from 6619402
to f45aa7e
#548
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: Build and Validate SAM Template | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'corretto' | |
cache: maven | |
- name: Install ChimeSMALibrary Parent POM | |
working-directory: ./ChimeSMALibrary | |
run: mvn -N install --no-transfer-progress | |
- name: Build up all the libraries | |
run: mvn -B install -DskipTests --no-transfer-progress | |
- name: Setup AWS SAM | |
uses: aws-actions/setup-sam@v2 | |
with: | |
use-installer: true | |
- name: Cache SAM Build files | |
uses: actions/cache@v4 | |
with: | |
path: .aws-sam | |
key: ${{ runner.os }}-sam | |
- name: SAM Build | |
run: sam build | |
- name: Validate SAM Template | |
run: sam validate --lint | |