Skip to content

0.2.5 (stable): NonDeDuplicated's generic parameter must implement An… #31

0.2.5 (stable): NonDeDuplicated's generic parameter must implement An…

0.2.5 (stable): NonDeDuplicated's generic parameter must implement An… #31

Workflow file for this run

name: Run tests and validate version
on:
push:
pull_request:
jobs:
version_check-clippy-tests-demo:
runs-on: ubuntu-latest
# Cargo.toml has "rust-version" (MSRV) 1.86. However, tests need 1.87.
container: rust:1.87-alpine
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run pre-commit
run: ./pre-commit
shell: sh
- name: Tests and demos
run: |
rustup component add clippy rustfmt
cargo clippy
cargo fmt --check
cargo doc --no-deps --quiet
cargo test
cargo test --release
rustup install nightly --profile minimal
rustup +nightly component add miri
cargo +nightly miri test
cross-crate-demo/bin/static_option_u8.sh
cross-crate-demo/bin/static_str.sh
cross-crate-demo/bin/literal_str.sh
cross-crate-demo/bin-fat-lto/static_option_u8.sh
cross-crate-demo/bin-fat-lto/static_str.sh
cross-crate-demo/bin-fat-lto/literal_str.sh
shell: sh