Skip to content

Fix undefined behavior found by Miri #39

Fix undefined behavior found by Miri

Fix undefined behavior found by Miri #39

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run clippy
run: cargo clippy --verbose
- name: Run tests
run: cargo test --verbose
- name: Run fmt
run: cargo fmt --check
- name: Run miri
run:
- rustup +nightly component add miri

Check failure on line 29 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yml (Line: 29, Col: 7): A sequence was not expected
- cargo +nightly miri test