Accepts s3 options when updating lambda functions #379
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: '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 |