Skip to content

Commit f84dfff

Browse files
committed
add a ci job to test bitcoind 0.28
1 parent ee3646f commit f84dfff

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/rust.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@ jobs:
2929
- name: Run tests (Bitcoin mode, REST+Electrum)
3030
run: RUST_LOG=debug cargo test
3131

32+
test-bitcoin-28:
33+
runs-on: ubuntu-22.04
34+
steps:
35+
- run: sudo apt-get update && sudo apt-get install libfuse2
36+
- uses: actions/checkout@v4
37+
- uses: dtolnay/rust-toolchain@1.75.0
38+
- uses: Swatinem/rust-cache@v2
39+
- name: Download bitcoind 28.0
40+
run: |
41+
curl -sSL https://bitcoincore.org/bin/bitcoin-core-28.0/bitcoin-28.0-x86_64-linux-gnu.tar.gz | tar -xz
42+
chmod +x bitcoin-28.0/bin/bitcoind
43+
- name: Run tests (Bitcoin mode with bitcoind 28.0, REST+Electrum)
44+
run: RUST_LOG=debug cargo test
45+
env:
46+
BITCOIND_EXEC: ${{ github.workspace }}/bitcoin-28.0/bin/bitcoind
47+
3248
test-electrum-raw:
3349
runs-on: ubuntu-22.04
3450
steps:

0 commit comments

Comments
 (0)