From cc92c2c4b6ff8259300fe212ed9fda5d20e5c4b1 Mon Sep 17 00:00:00 2001
From: Jiahao XU <Jiahao_XU@outlook.com>
Date: Thu, 4 Aug 2022 17:29:19 +1000
Subject: [PATCH] Rm `$HOME/.cargo` to test `cargo-binstall`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---
 .github/workflows/integration.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
index 2e0caf2b..58faa4c6 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -50,5 +50,7 @@ jobs:
 
     - name: Test
       shell: bash
-      run: ./ci-scripts/tests.sh ${{ matrix.bin }} ${{ runner.os }}
+      run: |
+        rm -rf "$HOME/.cargo"
+        ./ci-scripts/tests.sh ${{ matrix.bin }} ${{ runner.os }}