Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certora Run Github Application #1

Open
wants to merge 2 commits into
base: ccip_gho
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 22 additions & 34 deletions .github/workflows/certora.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,31 @@
name: certora
name: Certora Prover Workflow

on: push
on:
push:
branches:
- ccip_gho
pull_request:
branches:
- ccip_gho
workflow_dispatch:

jobs:
verify:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install python
uses: actions/setup-python@v2
with: { python-version: 3.9 }

- name: Install java
uses: actions/setup-java@v1
with: { java-version: '11', java-package: jre }

- name: Install certora cli
run: pip install certora-cli==7.21.1

- name: Install solc
run: |
wget https://github.com/ethereum/solidity/releases/download/v0.8.24/solc-static-linux
chmod +x solc-static-linux
sudo mv solc-static-linux /usr/local/bin/solc8.24

- name: Verify rule ${{ matrix.rule }}
run: |
echo "key length" ${#CERTORAKEY}
certoraRun certora/confs/${{ matrix.rule }}
- uses: actions/setup-node@v4
- run: npm install
- uses: Certora/certora-run-action@main
with:
configurations: |-
certora/confs/ccip.conf
solc-versions: 0.8.24
solc-remove-version-prefix: "0."
cli-version: 7.21.1
job-name: "CCIP Verified Rules"
certora-key: ${{ secrets.CERTORAKEY }}
env:
CERTORAKEY: ${{ secrets.CERTORAKEY }}

strategy:
fail-fast: false
max-parallel: 16
matrix:
rule:
- ccip.conf
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading