ci again #1
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: CI | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- uses: foundry-rs/foundry-toolchain@v1 | |
- run: forge test -vvv | |
- run: forge snapshot | |
formal-verification: | |
runs-on: ubuntu-latest | |
needs: test | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Install Kontrol | |
run: | | |
bash <(curl https://kframework.org/install) | |
kup install kontrol | |
- name: Build and Run Proofs | |
run: | | |
kontrol build | |
kontrol prove --config-profile setup | |
kontrol prove --config-profile tests | |
- name: View Results | |
run: kontrol list |