Commit 17c87a617e

17c87a617e8f56ad9797f6225d04e6697a81414e

parent: 2899d4f45a

Unregistered key

Ulyssa <git@ulyssa.dev> · 2023-05-20 01:25 UTC

Cache build directory in GitHub Actions (#107)

Layout: unified · split

.github/workflows/ci.yml +5
@@ -49,6 +49,11 @@ jobs:
4949 with:
5050 path: ~/.cargo/registry
5151 key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
52 - name: Cache cargo build
53 uses: actions/cache@v3
54 with:
55 path: target
56 key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
5257 - name: Check formatting
5358 uses: actions-rs/cargo@v1
5459 with: