File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,19 @@ runs:
4747 cargo-kani setup;
4848
4949 - name : Install PropProof
50- if : ${{ inputs.enable-propproof }}
50+ if : ${{ inputs.enable-propproof == 'true' }}
51+ uses : actions/checkout@v3
52+ with :
53+ repository : model-checking/kani
54+ ref : features/proptest
55+ path : propproof
56+ submodules : true
57+
58+ - name : Add PropProof to config
59+ if : ${{ inputs.enable-propproof == 'true' }}
5160 shell : bash
5261 run : |
53- export PROPPROOF_PATH=$HOME/propproof
54- git clone https://github.com/model-checking/kani \
55- --branch features/proptest $PROPPROOF_PATH || true
56- git -C $PROPPROOF_PATH submodule update --init --recursive
57- echo "paths = [\"$PROPPROOF_PATH\"]" > $HOME/.cargo/config.toml
58- # || true is used to handle cases where the propproof folder is cached.
62+ echo "paths = [\"$GITHUB_WORKSPACE/propproof\"]" > $HOME/.cargo/config.toml
5963
6064 - name : Run Kani
6165 shell : bash
You can’t perform that action at this time.
0 commit comments