Merge pull request #487 from nyx-space/dependabot/cargo/tabled-0.21.0 #212
This file contains hidden or 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: Kani Formal Verification Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - "*" | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| formal-verif-build: | |
| name: Formal Verification | |
| runs-on: ubuntu-latest | |
| 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/kani-github-action@v1.1 | |
| with: | |
| args: --only-codegen -Z function-contracts -Z loop-contracts -Z stubbing |