verify.yml 1.7 KB

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