From 0a5b72a375eb0bcc36a32f8ed6415ad64014c1c2 Mon Sep 17 00:00:00 2001 From: ChanTsune <41658782+ChanTsune@users.noreply.github.com> Date: Thu, 18 Apr 2024 21:59:04 +0900 Subject: [PATCH] :construction_worker: use actions/cache --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ece56b9..c595bca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,10 @@ jobs: if: startsWith(matrix.os, 'freebsd') run: | sudo pkg install -y pkgconf fusefs-libs3 + - uses: actions/cache@v4 + with: + path: target + key: ${{ matrix.os }}-rust-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }} - name: Run test run: cargo test --locked --release env: