Skip to content

Commit

Permalink
Update GHA ci caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeo committed Sep 29, 2023
1 parent c7176cf commit 4d310d0
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,7 @@ jobs:
!(github.event_name == 'push' && contains(github.event.head_commit.message, '[skip ci]'))
steps:
- uses: actions/checkout@v3
- name: Cache cargo registry
uses: actions/cache@v1
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v1
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v1
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- uses: Swatinem/rust-cache@v2
- name: Install clippy
run: rustup component add clippy
- name: Run tests
Expand Down

0 comments on commit 4d310d0

Please sign in to comment.