Update versions remove travis-ci #4
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: CI | |
on: | |
push: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v4 | |
- name: Setup java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: corretto | |
java-version: 11 | |
- name: Setup aws-sam-cli | |
uses: aws-actions/setup-sam@v2 | |
with: | |
use-installer: true | |
- name: test | |
run: | | |
sam --version | |
chmod +x ./test.sh | |
export AWS_ACCESS_KEY_ID=EMPTY | |
export AWS_SECRET_ACCESS_KEY=EMPTY | |
export AWS_DEFAULT_REGION=us-east-1 | |
./test.sh | |