use cache in workflow
All checks were successful
Build / Build (push) Successful in 46m49s

This commit is contained in:
Silas Bartha 2025-03-17 20:45:59 -04:00
parent 8801341493
commit f76758ddea
Signed by: soaos
GPG Key ID: 9BD3DCC0D56A09B2

View File

@ -11,5 +11,15 @@ jobs:
run: apk add nodejs gcc libc-dev pkgconf libx11-dev alsa-lib-dev eudev-dev tar
- name: Check out repository code
uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release