Skip to content

Bump com.amazonaws:aws-lambda-java-core from 1.2.3 to 1.3.0 in /ChatGPT #729

Bump com.amazonaws:aws-lambda-java-core from 1.2.3 to 1.3.0 in /ChatGPT

Bump com.amazonaws:aws-lambda-java-core from 1.2.3 to 1.3.0 in /ChatGPT #729

Workflow file for this run

name: Build and Validate SAM Template
on:
pull_request:
branches: [ "main" ]
permissions:
contents: read,write # This is required for actions/checkout and graph submission

Check failure on line 9 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build and Validate SAM Template

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 9, Col: 13): Unexpected value 'read,write'
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
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v5