Skip to content

Test no-std support in CI #26

Test no-std support in CI

Test no-std support in CI #26

Workflow file for this run

name: Rust CI
on:
pull_request:
push:
branches: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Toolchain
run: |
rustup update
rustup component add clippy
rustup install nightly
- name: Toolchain Info
run: |
cargo --version --verbose
rustc --version
cargo clippy --version
- name: Lint
run: |
cargo fmt -- --check
cargo clippy -- -D warnings
- name: Run Tests
run: |
cargo check
cargo test --all
- name: Build with --no-default-features
run: |
cargo check --no-default-features
cargo build --no-default-features