Skip to content

Commit

Permalink
Added caching to coverage workflow.
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr <a-p-petrosyan@yandex.ru>
  • Loading branch information
appetrosyan committed Oct 20, 2021
1 parent aaf6775 commit 6c320b9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/iroha2-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
target/
key: iroha2-rust-deadlock-detection-${{ hashFiles('Cargo.lock') }}
restore-keys: |
iroha2-rust-deadlock-detection-
iroha2-rust-deadlock-detection
- name: Install dependencies
run: |
Expand Down Expand Up @@ -133,6 +133,14 @@ jobs:
container: rust:1.55-buster
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
${{ env.CARGO_HOME }}
target/
key: iroha2-rust-test-coverage-${{ hashFiles('Cargo.lock') }}
restore-keys: |
iroha2-rust-test-coverage
- name: Install dependencies
run: |
apt-get update
Expand Down

0 comments on commit 6c320b9

Please sign in to comment.