Skip to content

Commit

Permalink
ci: allow rust cache invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Jan 5, 2022
1 parent b5dbbfb commit 97c963a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
with:
command: generate-lockfile
- uses: Swatinem/[email protected]
with:
# change this to invalidate cache for this job
key: v0
# otherwise the include_bytes! macro fails because this file hasn't been generated
- run: touch examples/fvm/fvm_example_actor.wasm
shell: bash
Expand All @@ -53,6 +56,9 @@ jobs:
command: generate-lockfile
- uses: protocol/cache-go-action@v1
- uses: Swatinem/[email protected]
with:
# change this to invalidate cache for this job
key: v0
- uses: actions-rs/[email protected]
with:
command: install
Expand Down

0 comments on commit 97c963a

Please sign in to comment.