From f291ef355fb30917ffcd0ea7e95af7e76e19438c Mon Sep 17 00:00:00 2001 From: Qingping Hou Date: Sun, 19 Sep 2021 19:18:49 -0700 Subject: [PATCH] trim cargo cache in ci --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b207e89..c18bf0b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,6 +39,10 @@ jobs: run: cargo build - name: Run tests run: cargo test + - name: Trim cache + run: | + cargo install cargo-cache + cargo cache trim -l 1G simd_test: runs-on: ubuntu-latest @@ -65,6 +69,10 @@ jobs: override: true - name: Run tests run: cargo test --features simd + - name: Trim cache + run: | + cargo install cargo-cache + cargo cache trim -l 1G docker_build: name: Docker Image Build