aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml21
1 files changed, 1 insertions, 20 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 30f8ccc7..d6bb52ce 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -20,26 +20,7 @@ jobs:
toolchain: stable
override: true
- - name: Cache cargo registry
- uses: actions/cache@v3
- with:
- path: ~/.cargo/registry
- key: ${{ runner.os }}-v2-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- restore-keys: ${{ runner.os }}-v2-cargo-registry-
-
- - name: Cache cargo index
- uses: actions/cache@v3
- with:
- path: ~/.cargo/git
- key: ${{ runner.os }}-v2-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- restore-keys: ${{ runner.os }}-v2-cargo-index-
-
- - name: Cache cargo target dir
- uses: actions/cache@v3
- with:
- path: target
- key: ${{ runner.os }}-v2-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- restore-keys: ${{ runner.os }}-v2-cargo-build-target-
+ - uses: Swatinem/rust-cache@v1
- name: Fetch tree-sitter grammars
uses: actions-rs/cargo@v1