Skip to content

Commit

Permalink
cache action
Browse files Browse the repository at this point in the history
  • Loading branch information
bestia-dev authored Feb 3, 2024
1 parent f3a6890 commit 0fade73
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust_fmt_auto_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Fmt
run: cargo fmt -- --check
- name: Install cargo-auto
Expand Down

0 comments on commit 0fade73

Please sign in to comment.