Skip to content

Commit

Permalink
cache cargo libs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgerlag committed Sep 28, 2024
1 parent eb8899a commit 3aace79
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,16 @@ jobs:
- name: Install protobuf-compiler
run: sudo apt-get install -y protobuf-compiler

# Cache Cargo dependencies
- name: Cache Cargo registry
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Lint check
run: make lint-check

0 comments on commit 3aace79

Please sign in to comment.