From b4a148be9e8452d1c0349fd820697ecaea76c0e9 Mon Sep 17 00:00:00 2001 From: "Emmanuel Joseph (JET)" Date: Thu, 10 Oct 2024 10:37:07 +0100 Subject: [PATCH] ci: cache bug fix [test] --- .github/workflows/ci.yml | 46 ++++++---------------------------------- 1 file changed, 6 insertions(+), 40 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97b4965..a99d8d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,6 @@ jobs: submodules: recursive - name: Install Foundry - id: foundry-output uses: foundry-rs/foundry-toolchain@v1 with: version: nightly @@ -29,27 +28,6 @@ jobs: run: | forge --version - - name: Cache Foundry - uses: actions/cache@v3 - with: - path: ~/.foundry - key: ${{ runner.os }}-foundry-cache - restore-keys: | - ${{ runner.os }}-foundry-cache - - build: - name: Build Contracts - runs-on: ubuntu-latest - needs: setup - steps: - - uses: actions/checkout@v4 - - - name: Restore Foundry Cache - uses: actions/cache@v3 - with: - path: ~/.foundry - key: ${{ runner.os }}-foundry-cache - - name: Run Forge fmt run: | forge fmt --check @@ -60,19 +38,6 @@ jobs: forge build --sizes id: forge-build - quality: - name: Run Tests - runs-on: ubuntu-latest - needs: build - steps: - - uses: actions/checkout@v4 - - - name: Restore Foundry Cache - uses: actions/cache@v3 - with: - path: ~/.foundry - key: ${{ runner.os }}-foundry-cache - - name: Run Forge tests run: | forge test -vvv @@ -81,17 +46,18 @@ jobs: deploy: name: Deploy to PulseChain Testnet runs-on: ubuntu-latest - needs: quality + needs: setup environment: pulsechain-testnet if: github.event_name == 'workflow_dispatch' steps: - uses: actions/checkout@v4 + with: + submodules: recursive - - name: Restore Foundry Cache - uses: actions/cache@v3 + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 with: - path: ~/.foundry - key: ${{ runner.os }}-foundry-cache + version: nightly - name: Deploy MultiSigEnterpriseVault Contract run: |