Skip to content

Commit 95bb56f

Browse files
committed
.github/workflows: enable simulators cache
1 parent 2773605 commit 95bb56f

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/rust.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
- uses: dtolnay/rust-toolchain@stable
1414
with:
1515
components: clippy, rustfmt
16+
- name: Enable simulators caching
17+
uses: actions/cache@v4
18+
with:
19+
key: ${{runner.os}}-simulators-cache-${{hashFiles('./tests/simulators.json')}}
20+
path: |
21+
./tests/simulators
1622
- run: |
1723
sudo apt-get update
1824
sudo apt-get install -y libudev-dev
@@ -28,6 +34,12 @@ jobs:
2834
- uses: dtolnay/rust-toolchain@beta
2935
with:
3036
components: clippy, rustfmt
37+
- name: Enable simulators caching
38+
uses: actions/cache@v4
39+
with:
40+
key: ${{runner.os}}-simulators-cache-${{hashFiles('./tests/simulators.json')}}
41+
path: |
42+
./tests/simulators
3143
- run: |
3244
sudo apt-get update
3345
sudo apt-get install -y libudev-dev
@@ -44,6 +56,12 @@ jobs:
4456
- uses: dtolnay/rust-toolchain@nightly
4557
with:
4658
components: clippy, rustfmt
59+
- name: Enable simulators caching
60+
uses: actions/cache@v4
61+
with:
62+
key: ${{runner.os}}-simulators-cache-${{hashFiles('./tests/simulators.json')}}
63+
path: |
64+
./tests/simulators
4765
- run: |
4866
sudo apt-get update
4967
sudo apt-get install -y libudev-dev

tests/simulator_tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ mod subtests;
1010
use subtests::PairedBitBox;
1111

1212
use bitcoin::hashes::Hash;
13-
use hex;
1413
use reqwest::Client;
1514
use serde::{Deserialize, Serialize};
1615
use std::os::unix::fs::PermissionsExt;

0 commit comments

Comments
 (0)