From aba067266d1efc523991355c6e11d2810fd47a61 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sat, 20 Mar 2021 04:52:59 -0500 Subject: [PATCH] cache more aggressively --- .github/workflows/doc.yml | 10 +++++++++- .github/workflows/run-tests.yml | 9 +++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index b617257..f7f94d2 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -38,4 +38,12 @@ jobs: branch: gh-pages folder: public -# vim: set sw=2 tw=2 : + - uses: actions/cache@v2 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo + +# vim: set ts=2 tw=2 sw=2 et : diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 978aba2..5dc0666 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -18,3 +18,12 @@ jobs: run: | cargo test --all + - uses: actions/cache@v2 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo + +# vim: set ts=2 tw=2 sw=2 et :