Skip to content

Commit

Permalink
refactor: clean Certora CI
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Dec 1, 2023
1 parent c716556 commit c265b46
Showing 1 changed file with 19 additions and 23 deletions.
42 changes: 19 additions & 23 deletions .github/workflows/certora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,30 @@ jobs:
verify:
runs-on: ubuntu-latest

strategy:
fail-fast: false

matrix:
conf:
- AccrueInterest
- ConsistentState
- ExactMath
- ExitLiquidity
- Health
- LibSummary
- Liveness
- RatioMath
- Reentrancy
- Reverts
- Transfer

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install certora
run: pip install certora-cli
Expand All @@ -30,26 +45,7 @@ jobs:
chmod +x solc-static-linux
sudo mv solc-static-linux /usr/local/bin/solc
- name: Verify rule ${{ matrix.script }}
run: |
echo "key length" ${#CERTORAKEY}
certoraRun certora/confs/${{ matrix.conf }}.conf
- name: Verify ${{ matrix.conf }}
run: certoraRun certora/confs/${{ matrix.conf }}.conf
env:
CERTORAKEY: ${{ secrets.CERTORAKEY }}

strategy:
fail-fast: false

matrix:
conf:
- AccrueInterest
- ConsistentState
- ExactMath
- ExitLiquidity
- Health
- LibSummary
- Liveness
- RatioMath
- Reentrancy
- Reverts
- Transfer

0 comments on commit c265b46

Please sign in to comment.