diff --git a/.github/workflows/push_check.yml b/.github/workflows/push_check.yml index a3a7d31d..38a3a7fd 100644 --- a/.github/workflows/push_check.yml +++ b/.github/workflows/push_check.yml @@ -42,12 +42,6 @@ jobs: - name: Create a fake .secret file run: echo "primary twist rack vendor diagram image used route theme frown either will" > .secret - - name: Install dependencies - run: yarn install --frozen-lockfile && yarn build - - - name: Run Hardhat Tests - run: yarn test - - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: @@ -58,6 +52,15 @@ jobs: forge --version forge build --sizes id: forge-build + uses: webfactory/ssh-agent@v0.7.0 + with: + ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + + - name: Install dependencies + run: yarn install --frozen-lockfile && yarn build + + - name: Run Hardhat Tests + run: yarn test - name: Run Forge tests run: |