Skip to content

refactor: clippy enhancements (#39) #33

refactor: clippy enhancements (#39)

refactor: clippy enhancements (#39) #33

Workflow file for this run

name: lambda
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.74.0
profile: minimal
- name: Install Cargo Lambda
run: pip install cargo-lambda==1.0.0
- name: Build lambda
run: cargo lambda build --release
- name: Deploy lambda
run: cargo lambda deploy --enable-function-url link-for-later-lambda
env:
AWS_DEFAULT_REGION: ap-southeast-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}