Skip to content

BAU: add a basic pre-merge check #1

BAU: add a basic pre-merge check

BAU: add a basic pre-merge check #1

name: Pre-merge checks

Check failure on line 1 in .github/workflows/pre-merge-check.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pre-merge-check.yaml

Invalid workflow file

`pull-request` is not a valid event name
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