Skip to content

Commit

Permalink
Caches for build-commit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
acodili-jg authored May 10, 2024
1 parent 1e85373 commit cc964ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit cc964ae

Please sign in to comment.