BAU: add a basic pre-merge check #1
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: Pre-merge checks | ||
on: | ||
pull-request: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up SAM cli | ||
uses: aws-actions/setup-sam@v2 | ||
with: | ||
use-installer: true # this caches installation but is only available on Linux x86-64 runners | ||
- name: SAM build and test | ||
run: sam build |