Skip to content

feat: reserve (#44) #133

feat: reserve (#44)

feat: reserve (#44) #133

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust_version: [stable, "1.47.0"]
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
run: rustup default ${{ matrix.rust_version }}
- name: Build
run: cargo build --verbose
- name: Build (no_std)
run: cargo build --no-default-features --verbose
- name: Run tests
run: cargo test --verbose
- name: Rustfmt and Clippy
run: |
cargo fmt -- --check
cargo clippy --all-features
if: matrix.rust_version == 'stable'