Skip to content

Add more conversions #28

Add more conversions

Add more conversions #28

Workflow file for this run

name: CI
on:
pull_request:
merge_group:
push:
branches:
- main
jobs:
feats:
name: Check features
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/[email protected] # MSRV
- name: Check (-std -alloc)
run: cargo check --no-default-features
- name: Check (-std +alloc)
run: cargo check --no-default-features --features alloc
- name: Check (+std +alloc)
run: cargo check --no-default-features --features alloc,std
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Build tests
run: cargo test --no-run
- name: Run tests
run: cargo test
style:
name: Style tests
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- name: Install cargo-docs-rs
uses: dtolnay/install@cargo-docs-rs
- name: Check documentation build
run: cargo docs-rs
- name: Check clippy lints
run: cargo clippy -- -D warnings
- name: Check formatting
run: cargo fmt -- --check