Skip to content

Commit 6d5600e

Browse files
committed
cached workflow, renamed file
1 parent cc11748 commit 6d5600e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-and-test.yml renamed to .github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ jobs:
1919
- name: Rust downgrade
2020
run: rustup default 1.67.0
2121
- uses: actions/checkout@v3
22+
- uses: actions/cache@v3
23+
id: cache
24+
with:
25+
path: |
26+
~/.cargo/bin/
27+
~/.cargo/registry/index/
28+
~/.cargo/registry/cache/
29+
~/.cargo/git/db/
30+
target/
31+
key: cargo-${{ hashFiles('**/Cargo.lock') }}
2232
- name: Install wasm32-unknown-unknown target
2333
run: rustup target add wasm32-unknown-unknown
2434
- name: Build contracts

0 commit comments

Comments
 (0)