Skip to content

Commit 84a2017

Browse files
committed
Include node in workspace
Currently we do not include the `node` crate in the workspace because `run_task` did not support testing it. However `run_task` has now been patched. Include `node` in the workspace. Configure it to work with the newly patched `run_task`. Add a `extra_tests.sh` script that runs the `node` tests. In order to get MSRV building we make all deps use `default-features = false` then explicitly enable just what we need. Also change the feature guarding in the build script so that `--all-features` works. This is already supported in the main crate code since the highest version feature overrides the lower ones.
1 parent 05d7b7e commit 84a2017

File tree

12 files changed

+1079
-68
lines changed

12 files changed

+1079
-68
lines changed

.github/workflows/rust.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
uses: actions/checkout@v4
3535
with:
3636
repository: rust-bitcoin/rust-bitcoin-maintainer-tools
37-
rev: b2ac115
37+
ref: c3324024ced9bb1eb854397686919c3ff7d97e1e
3838
path: maintainer-tools
3939
- name: "Select toolchain"
4040
uses: dtolnay/rust-toolchain@stable
@@ -58,7 +58,7 @@ jobs:
5858
uses: actions/checkout@v4
5959
with:
6060
repository: rust-bitcoin/rust-bitcoin-maintainer-tools
61-
rev: b2ac115
61+
ref: c3324024ced9bb1eb854397686919c3ff7d97e1e
6262
path: maintainer-tools
6363
- name: "Select toolchain"
6464
uses: dtolnay/rust-toolchain@v1
@@ -108,7 +108,7 @@ jobs:
108108
uses: actions/checkout@v4
109109
with:
110110
repository: rust-bitcoin/rust-bitcoin-maintainer-tools
111-
rev: b2ac115
111+
ref: c3324024ced9bb1eb854397686919c3ff7d97e1e
112112
path: maintainer-tools
113113
- name: "Select toolchain"
114114
uses: dtolnay/rust-toolchain@v1
@@ -135,7 +135,7 @@ jobs:
135135
uses: actions/checkout@v4
136136
with:
137137
repository: rust-bitcoin/rust-bitcoin-maintainer-tools
138-
rev: b2ac115
138+
ref: c3324024ced9bb1eb854397686919c3ff7d97e1e
139139
path: maintainer-tools
140140
- name: "Select toolchain"
141141
uses: dtolnay/rust-toolchain@stable
@@ -159,7 +159,7 @@ jobs:
159159
uses: actions/checkout@v4
160160
with:
161161
repository: rust-bitcoin/rust-bitcoin-maintainer-tools
162-
rev: b2ac115
162+
ref: c3324024ced9bb1eb854397686919c3ff7d97e1e
163163
path: maintainer-tools
164164
- name: "Select toolchain"
165165
uses: dtolnay/rust-toolchain@v1

0 commit comments

Comments
 (0)