[M-01] Potential Obsolescence for Safe4337Module
#138
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: certora | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- modules/4337/** | |
pull_request: | |
branches: | |
- main | |
paths: | |
- modules/4337/** | |
workflow_dispatch: | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rule: ['verify4337Module.sh', 'verifyTransactionExecutionMethods.sh', 'verifyValidationData.sh'] | |
defaults: | |
run: | |
working-directory: ./modules/4337 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: { python-version: 3.11 } | |
- name: Install java | |
uses: actions/setup-java@v3 | |
with: { java-version: '17', java-package: jre, distribution: semeru } | |
- name: Install certora cli | |
run: pip install -Iv certora-cli==6.1.3 | |
- name: Install solc | |
run: | | |
wget https://github.com/ethereum/solidity/releases/download/v0.8.23/solc-static-linux | |
chmod +x solc-static-linux | |
sudo mv solc-static-linux /usr/local/bin/solc8.23 | |
- name: Install dependencies | |
run: npm ci | |
- name: Verify rule ${{ matrix.rule }} | |
run: | | |
echo "key length" ${#CERTORAKEY} | |
chmod +x ./certora/scripts/${{ matrix.rule }} | |
./certora/scripts/${{ matrix.rule }} | |
env: | |
CERTORAKEY: ${{ secrets.CERTORA_KEY }} |