trim cargo cache in ci

This commit is contained in:
Qingping Hou 2021-09-19 19:18:49 -07:00
parent 509af14f61
commit f291ef355f

View File

@ -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