Skip to content

Commit

Permalink
CI: test with cargo-careful
Browse files Browse the repository at this point in the history
`cargo careful` is a tool to run your Rust code extra carefully --
opting into a bunch of nightly-only extra checks that help detect
Undefined Behavior, and using a standard library with debug assertions.

https://github.com/RalfJung/cargo-careful
  • Loading branch information
tarcieri committed Jan 16, 2024
1 parent 0bbdfff commit d0a2ca8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/hybrid-array.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ jobs:
- run: rustup component add miri && cargo miri setup
- run: cargo miri test --target ${{ matrix.target }} --all-features

careful:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: cargo install cargo-careful
- run: cargo careful test --all-features

clippy:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit d0a2ca8

Please sign in to comment.