Skip to content

Merge branch 'feat/body-parsing-with-audit-fix' of https://github.com… #58

Merge branch 'feat/body-parsing-with-audit-fix' of https://github.com…

Merge branch 'feat/body-parsing-with-audit-fix' of https://github.com… #58

Workflow file for this run

name: Build and Format
on: [push]
jobs:
build-and-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup show
- name: Install rustfmt and clippy
run: |
rustup component add rustfmt
rustup component add clippy
- uses: Swatinem/rust-cache@v2
- name: Build and check for warnings
env:
RUSTFLAGS: "-D warnings"
run: cargo build --release
- name: Check formatting
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy -- -D warnings