From 5d1b5bc879d890957c11886ec5ab2e785f856dae Mon Sep 17 00:00:00 2001 From: Mrrp <94077364+TheFelidae@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:57:33 -0800 Subject: [PATCH] Update rust.yml to use caching --- .github/workflows/rust.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 906b845..215a7e4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,6 +20,12 @@ jobs: - uses: actions/checkout@v4 - name: Install system dependencies run: sudo apt-get install -y libasound2-dev libudev-dev + - name: Cache build artifacts + uses: actions/cache@v4.2.0 + with: + path: | + key: "Rust build cache" + **/target - name: Build run: cargo build --verbose - name: Run tests