Skip to content

Commit

Permalink
fix: caching
Browse files Browse the repository at this point in the history
  • Loading branch information
🎲 committed Jan 18, 2025
1 parent 7bd9967 commit 33a7ef3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/cargo-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ jobs:
runs-on: windows-latest # Use the latest Windows runner

steps:
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Checkout Repository
uses: actions/checkout@v4 # Checkout the repository using the specified action

Expand All @@ -33,7 +43,7 @@ jobs:
run: cargo build

- name: Test
run: lua5.1 ltests/test.lua
run: lua ltests/test.lua

- name: Install Cargo Release
run: cargo install cargo-release # Install the cargo-release tool
Expand Down

0 comments on commit 33a7ef3

Please sign in to comment.