Skip to content

Update REST request collection #72

Update REST request collection

Update REST request collection #72

Workflow file for this run

name: lambdas
defaults:
run:
working-directory: lambdas
on:
pull_request:
paths:
- ".github/workflows/lambdas.yml"
- "lambdas/**"
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