Skip to content

feat: Skip encoding range mappings if it's empty (#86) #168

feat: Skip encoding range mappings if it's empty (#86)

feat: Skip encoding range mappings if it's empty (#86) #168

Workflow file for this run

name: CI
on:
push:
branches:
- master
- "release/**"
pull_request:
env:
RUSTFLAGS: -Dwarnings
jobs:
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal --component rustfmt --component clippy --no-self-update
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features --workspace --tests --examples -- -D clippy::all
unit-test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal --no-self-update
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace
unit-test-all-features:
name: "Unit Tests - all features"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal --no-self-update
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace --all-features --all-targets
doc-comments:
name: Rust doc comments
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal --component rust-docs --no-self-update
- uses: Swatinem/rust-cache@v2
- run: cargo doc --workspace --all-features --document-private-items --no-deps