Skip to content

Finalize refactoring of Value wrapper #25

Finalize refactoring of Value wrapper

Finalize refactoring of Value wrapper #25

Workflow file for this run

name: Rust
on:
push:
branches:
- master
paths:
- '.github/workflows/rust.yml'
- 'src/**.rs'
- 'tests/**'
- 'Cargo.toml'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- '**'
paths:
- '.github/workflows/rust.yml'
- 'src/**.rs'
- 'tests/**'
- 'Cargo.toml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Rust Unix
if: runner.os != 'Windows'
run: |
if rustup --version >/dev/null 2>&1; then
rustup update
else
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain stable
echo ::add-path::$HOME/.cargo/bin
fi
- name: Install Miri
run: |
rustup toolchain install nightly
rustup +nightly component add miri
- name: Rust version
run: |
cargo --version
rustc --version
- name: Test
run: cargo test
- name: Miri Test
run: |
cargo +nightly miri test
cargo +nightly miri test --release