From a8df6aae95b7cac9e46115aacfd9fb284f4a8e3b Mon Sep 17 00:00:00 2001 From: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com> Date: Thu, 5 Feb 2026 11:21:02 +0100 Subject: [PATCH] ci: Remove unused Foundry cache steps (#431) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary - drop the Foundry library and build artifact cache restores from the e2e workflow - also remove the Foundry build cache from the dedicated Foundry tests workflow since it wasn’t providing value Testing - Not run (not requested) --- .github/workflows/task-e2e.yml | 17 ----------------- .github/workflows/task-foundry-tests.yml | 10 ---------- 2 files changed, 27 deletions(-) diff --git a/.github/workflows/task-e2e.yml b/.github/workflows/task-e2e.yml index 694b0906..dfd8cee6 100644 --- a/.github/workflows/task-e2e.yml +++ b/.github/workflows/task-e2e.yml @@ -118,23 +118,6 @@ jobs: key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }} restore-keys: | ${{ runner.os }}-bun- - - name: Cache Foundry libraries - uses: actions/cache/restore@v4 - with: - path: ../contracts/lib - key: ${{ runner.os }}-foundry-libs-${{ hashFiles('.gitmodules') }} - restore-keys: | - ${{ runner.os }}-foundry-libs- - - - name: Cache Foundry build artifacts - uses: actions/cache/restore@v4 - with: - path: | - ../contracts/out - ../contracts/cache - key: ${{ runner.os }}-foundry-build-${{ hashFiles('contracts/foundry.toml', 'contracts/**/*.sol') }} - restore-keys: | - ${{ runner.os }}-foundry-build- - uses: docker/login-action@v3 with: registry: ghcr.io diff --git a/.github/workflows/task-foundry-tests.yml b/.github/workflows/task-foundry-tests.yml index c6bc6d81..81288ee6 100644 --- a/.github/workflows/task-foundry-tests.yml +++ b/.github/workflows/task-foundry-tests.yml @@ -38,16 +38,6 @@ jobs: with: version: v1.4.3 - - name: Cache Foundry build artifacts - uses: actions/cache@v4 - with: - path: | - contracts/out - contracts/cache - key: ${{ runner.os }}-foundry-build-${{ hashFiles('contracts/foundry.toml', 'contracts/**/*.sol') }} - restore-keys: | - ${{ runner.os }}-foundry-build- - - run: forge --version - run: forge fmt --check - run: forge build --sizes