diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8758d2a..6920597 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,27 @@ jobs: runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v2 + - name: Get yarn cache directory path + id: yarn-cache-dir-path + run: echo "::set-output name=dir::$(yarn cache dir)" + - uses: actions/cache@v2 + id: yarn-cache + with: + path: | + ${{ steps.yarn-cache-dir-path.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- + - uses: actions/cache@v2 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + ~/.cargo/bin + src-tauri/target + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-cargo- - name: setup node uses: actions/setup-node@v1 with: diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 5894f98..214d049 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -736,9 +736,9 @@ dependencies = [ [[package]] name = "libnspire-sys" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dff025b6869a1f163254e00fb9250d0705a4a7b645c0ce9aa3a90e65cede9b5" +checksum = "a517591b98a38e9b471e2b141ac84d70bd55d626b9c0b57315bc3f1b538e7bf4" dependencies = [ "cc", "globwalk",