Implement lossless From methods for Duration conversions #543
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
name: Formal Verification Workflow | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "*" | |
pull_request: | |
workflow_dispatch: | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
formal-verif: | |
name: Formal Verification | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Clean Cargo.toml for Kani | |
run: | | |
# Remove `cdylib` from targets in Cargo.toml because it confuses Kani | |
sed '17d' Cargo.toml > Cargo.toml.new | |
mv Cargo.toml.new Cargo.toml | |
- name: Kani Rust Verifier | |
uses: model-checking/[email protected] |