diff --git a/.github/workflows/build-commit.yml b/.github/workflows/build-commit.yml index 3d3aa76..fa30f96 100644 --- a/.github/workflows/build-commit.yml +++ b/.github/workflows/build-commit.yml @@ -12,6 +12,18 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + - name: Initialize Caches + uses: actions/cache@v4 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-build-commit-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-build-commit- - name: Clippy run: | rustup \