Skip to content

refactor

refactor #48

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build
- name: Run fmt checks
run: |
rustup component add rustfmt
cargo fmt -- --check
- name: Run lints
run: |
rustup component add clippy
cargo clippy -- -D warnings
- name: Test (Debug)
run: cargo test
- name: Test (Release)
run: cargo test --release --features malloc