verify.yml 1.4 KB

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