Remove unused message from example (#51) #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: CI | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: rustfmt | |
- name: Format | |
run: cargo fmt --all -- --check | |
lints: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- name: Install linter | |
run: cargo install cargo-lints | |
- name: Lints | |
run: cargo lints clippy --all-targets --all-features | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Check (no features) | |
run: cargo check --all-targets --no-default-features | |
- name: Check (all features) | |
run: cargo check --all-targets --all-features | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Docs | |
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: wasm32-unknown-unknown | |
- name: Release build (no features) | |
run: cargo build --release --all-targets --no-default-features | |
- name: Release build (all features) | |
run: cargo build --release --all-targets --all-features | |
- name: Release build (WASM) | |
run: cargo build --release --target wasm32-unknown-unknown --no-default-features | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Test (debug, no features) | |
run: cargo test --no-default-features | |
- name: Test (debug, all features) | |
run: cargo test --all-features | |
- name: Test (release, no features) | |
run: cargo test --release --no-default-features | |
- name: Test (release, all features) | |
run: cargo test --release --all-features |