diff --git a/.github/actions/install-cache/action.yml b/.github/actions/install-cache/action.yml deleted file mode 100644 index db875038..00000000 --- a/.github/actions/install-cache/action.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Install repository with compilation cache - -runs: - using: composite - - steps: - - uses: ./.github/actions/install - - - name: Restore forge compilation cache - uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 - with: - path: | - cache - out - key: forge-${{ github.ref_name }} diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 638298f1..7a73149f 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -21,6 +21,4 @@ jobs: - uses: ./.github/actions/install - name: Run Linter - - name: Enable pnpm - run: corepack enable run: pnpm run lint diff --git a/.github/workflows/foundry.yml b/.github/workflows/foundry.yml index 28d65b0d..e0db5a3a 100644 --- a/.github/workflows/foundry.yml +++ b/.github/workflows/foundry.yml @@ -24,8 +24,6 @@ jobs: - uses: ./.github/actions/install - name: Build contracts via IR & check sizes - - name: Enable pnpm - run: corepack enable run: pnpm run build:forge --force --sizes # don't use compilation cache build-no-ir: @@ -38,21 +36,13 @@ jobs: with: submodules: recursive - - uses: ./.github/actions/install-cache + - uses: ./.github/actions/install - name: Build contracts without IR run: pnpm run build:forge env: FOUNDRY_PROFILE: test - - name: Save forge compilation cache - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 - with: - path: | - cache - out - key: forge-${{ github.ref_name }}-${{ github.run_id }} - test: needs: build-no-ir @@ -81,7 +71,7 @@ jobs: with: submodules: recursive - - uses: ./.github/actions/install-cache + - uses: ./.github/actions/install - name: Run tests in ${{ matrix.type }} mode run: pnpm run test:forge -vvv diff --git a/.github/workflows/hardhat.yml b/.github/workflows/hardhat.yml index 0791a234..fd3def63 100644 --- a/.github/workflows/hardhat.yml +++ b/.github/workflows/hardhat.yml @@ -24,8 +24,6 @@ jobs: - uses: ./.github/actions/install - name: Build contracts - - name: Enable pnpm - run: corepack enable run: pnpm run build:hardhat --force # don't use compilation cache - name: Run hardhat tests diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index 691f065d..6f75abc6 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -19,8 +19,6 @@ jobs: - uses: ./.github/actions/install - name: Build package - - name: Enable pnpm - run: corepack enable run: pnpm run build:pkg - name: Publish to npm