Skip to content

Commit

Permalink
Use cache
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijan committed Dec 13, 2024
1 parent d68082d commit f26def7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,18 @@ env:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down

0 comments on commit f26def7

Please sign in to comment.