Skip to content

fix: formatting check #112

fix: formatting check

fix: formatting check #112

Workflow file for this run

name: Continuous Integration
on:
push:
branches-ignore:
- 'main'
- 'releases/**'
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
pipeline:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-wasi
components: rustfmt, clippy
- name: Cache dependencies
uses: Swatinem/[email protected]
- name: Run cargo-audit binary crate
uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: cargo build --all-features
- name: Unit Tests
run: cargo test --all --exclude http-backend
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run Clippy
run: cargo clippy --all-targets --all-features