diff --git a/.github/workflows/l1-contracts-ci.yaml b/.github/workflows/l1-contracts-ci.yaml index 7c7c21a75..f5299733e 100644 --- a/.github/workflows/l1-contracts-ci.yaml +++ b/.github/workflows/l1-contracts-ci.yaml @@ -72,14 +72,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Install foundry-zksync - run: | - mkdir ./foundry-zksync - curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz - tar zxf foundry_nightly_linux_amd64.tar.gz -C ./foundry-zksync - chmod +x ./foundry-zksync/forge ./foundry-zksync/cast - echo "$PWD/foundry-zksync" >> $GITHUB_PATH - - name: Checkout the repository uses: actions/checkout@v4 with: @@ -91,6 +83,13 @@ jobs: node-version: 18.18.0 cache: yarn + - name: Install foundry-zksync + run: | + mkdir ./foundry-zksync + curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz + tar zxf foundry_nightly_linux_amd64.tar.gz -C ./foundry-zksync + chmod +x ./foundry-zksync/forge ./foundry-zksync/cast + echo "$PWD/foundry-zksync" >> $GITHUB_PATH - name: Install dependencies run: yarn @@ -169,14 +168,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Install foundry-zksync - run: | - mkdir ./foundry-zksync - curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz - tar zxf foundry_nightly_linux_amd64.tar.gz -C ./foundry-zksync - chmod +x ./foundry-zksync/forge ./foundry-zksync/cast - echo "$PWD/foundry-zksync" >> $GITHUB_PATH - - name: Checkout the repository uses: actions/checkout@v4 with: @@ -188,6 +179,14 @@ jobs: node-version: 18.18.0 cache: yarn + - name: Install foundry-zksync + run: | + mkdir ./foundry-zksync + curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz + tar zxf foundry_nightly_linux_amd64.tar.gz -C ./foundry-zksync + chmod +x ./foundry-zksync/forge ./foundry-zksync/cast + echo "$PWD/foundry-zksync" >> $GITHUB_PATH + - name: Install dependencies run: yarn diff --git a/.github/workflows/slither.yaml b/.github/workflows/slither.yaml index f63683aaf..d815c9191 100644 --- a/.github/workflows/slither.yaml +++ b/.github/workflows/slither.yaml @@ -8,14 +8,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Install foundry-zksync - run: | - mkdir ./foundry-zksync - curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz - tar zxf foundry_nightly_linux_amd64.tar.gz -C ./foundry-zksync - chmod +x ./foundry-zksync/forge ./foundry-zksync/cast - echo "$PWD/foundry-zksync" >> $GITHUB_PATH - - name: Checkout the repository uses: actions/checkout@v4 with: @@ -35,6 +27,14 @@ jobs: with: python-version: 3.8 + - name: Install foundry-zksync + run: | + mkdir ./foundry-zksync + curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz + tar zxf foundry_nightly_linux_amd64.tar.gz -C ./foundry-zksync + chmod +x ./foundry-zksync/forge ./foundry-zksync/cast + echo "$PWD/foundry-zksync" >> $GITHUB_PATH + - name: Install Slither run: | pip install slither-analyzer diff --git a/.github/workflows/system-contracts-ci.yaml b/.github/workflows/system-contracts-ci.yaml index b2c75ec82..266f66f85 100644 --- a/.github/workflows/system-contracts-ci.yaml +++ b/.github/workflows/system-contracts-ci.yaml @@ -10,6 +10,8 @@ jobs: steps: - name: Checkout the repository uses: actions/checkout@v4 + with: + submodules: recursive - name: Install foundry-zksync run: |