Skip to content

Fix POST submission endpoint #206

Fix POST submission endpoint

Fix POST submission endpoint #206

Workflow file for this run

name: lambdas
defaults:
run:
working-directory: lambdas
on:
pull_request:
paths:
- ".github/workflows/lambdas.yml"
- "lambdas/**"
- "!lambdas/requests.rest"
types:
- opened
- synchronize
- reopened
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --check
- run: cargo clippy -- -D warnings
- run: cargo check
- run: cargo doc --no-deps
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install cargo lambda
run: pip install cargo-lambda
- run: cargo lambda build