Skip to content

Improve error handling #102

Improve error handling

Improve error handling #102

Workflow file for this run

name: Rust
on:
pull_request:
branches: [ "*" ]
push:
branches: [ "main" ]
workflow_call:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format
run: cd interpn; cargo fmt --check --verbose
- name: Lint
run: cd interpn; cargo clippy
- name: Build
run: cd interpn; cargo build --verbose
- name: Run tests
run: cd interpn; cargo test --verbose
- name: Test no-std
run: |
cd test_no_std
rustup target add thumbv7em-none-eabihf
rustup toolchain install nightly
cargo +nightly build --verbose