Skip to content

Adds a reusable workflow for deploying lambda functions #409

Adds a reusable workflow for deploying lambda functions

Adds a reusable workflow for deploying lambda functions #409

Workflow file for this run

---
name: 'Validate pull request'
on:
pull_request:
branches:
- main
defaults:
run:
shell: bash
jobs:
pre-commit:
name: 'Pre-commit check'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: 'Run pre-commit'
uses: pre-commit/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
test:
name: 'Run tests'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v2
- name: 'Setup Homebrew'
uses: Homebrew/actions/setup-homebrew@master
- name: 'Install bats'
run: brew install bats-core
- name: 'Run action tests'
run: bats -r actions/*/*.bats