diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f81113c1..2d447919 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -225,7 +225,9 @@ jobs: - name: Test ${{ matrix.contract }} on ${{ matrix.platform }}-${{ matrix.toolchain }} if: runner.os != 'Windows' && matrix.contract == 'static-buffer' - run: INK_STATIC_BUFFER_SIZE=30 cargo test --verbose --manifest-path=${{ matrix.contract }}/Cargo.toml; + run: | + cargo clean --manifest-path --manifest-path=${{ matrix.contract }}/Cargo.toml + INK_STATIC_BUFFER_SIZE=30 cargo test --verbose --manifest-path=${{ matrix.contract }}/Cargo.toml - name: Build workspace ${{ matrix.contract }} on ${{ matrix.platform }}-${{ matrix.toolchain }} if: runner.os != 'Windows' && matrix.contract == 'workspace-contracts'