formal-verifiation.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. name: Certora
  2. on:
  3. branches:
  4. - master
  5. - release-v*
  6. pull_request: {}
  7. workflow_dispatch: {}
  8. jobs:
  9. verify:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v2
  13. - name: Install python
  14. uses: actions/setup-python@v2
  15. with: { python-version: 3.6, cache: 'pip' }
  16. - name: Install java
  17. uses: actions/setup-java@v1
  18. with: { java-version: "11", java-package: jre }
  19. - name: Install certora
  20. run: pip install certora-cli
  21. - name: Install solc
  22. run: |
  23. wget https://github.com/ethereum/solidity/releases/download/v0.8.4/solc-static-linux
  24. chmod +x solc-static-linux
  25. sudo mv solc-static-linux /usr/local/bin/solc8.4
  26. - name: Verify rule ${{ matrix.script }}
  27. run: |
  28. touch certora/applyHarness.patch
  29. make -C certora munged
  30. echo "key length" ${#CERTORAKEY}
  31. sh certora/scripts/${{ matrix.script }}
  32. env:
  33. CERTORAKEY: ${{ secrets.CERTORAKEY }}
  34. strategy:
  35. fail-fast: false
  36. max-parallel: 4
  37. matrix:
  38. script:
  39. # - old/verifyTimelock.sh
  40. # - old/verifyERC1155.sh
  41. # - old/verifyERC20FlashMint.sh
  42. # - old/verifyERC20Wrapper.sh
  43. # - old/verifyAccessControl.sh
  44. # - old/verifyERC20Votes.sh "checking ERC20Votes.spec on ERC20Votes.sol"
  45. # - old/verifyERC721Votes.sh "checking ERC721Votes.spec on draft-ERC721Votes.sol and Votes.sol"
  46. - Round3/verifyERC1155Burnable.sh
  47. - Round3/verifyERC1155Supply.sh
  48. - Round3/verifyERC1155Pausable.sh
  49. - Round3/verifyInitializable.sh
  50. - Round3/verifyGovernorPreventLateQuorum.sh