Skip to content

Commit 53db518

Browse files
committed
Merge #96: fix(ci): code coverage actions/upload-artifact version
7321a5d fix(ci): pin `tokio-util` to `0.7.11` (Leonardo Lima) cec57f6 chore: remove bdk repository related comment (Leonardo Lima) 33a6f21 deps(ci): bump `actions/checkout` to `v4` (Leonardo Lima) b22d95f deps(ci): bump `actions/upload-artifact` to `v4` (Leonardo Lima) Pull request description: <!-- You can erase any parts of this template not applicable to your Pull Request. --> ### Description The Code Coverage step seems to start failing due to `actions/checkout@v2` becoming deprecated, and an error now instead of a warning. At least it's what I got from the error message here: https://github.com/bitcoindevkit/rust-esplora-client/actions/runs/10702593999/job/29671147653?pr=93 This PR bumps it's version to `v4`, the latest one. I'm also taking the opportunity to bump the `action/checkout` to `v4` too. I'm not sure if it became fully/enforced deprecation from yesterday to today, because it ran successfully on the last master merged PR CI steps #:thinking: <!-- Describe the purpose of this PR, what's being adding and/or fixed --> ### Notes to the reviewers Please let me know if I should take the opportunity to bump any other actions, or update the workflow in any way. <!-- In this section you can include notes directed to the reviewers, like explaining why some parts of the PR were done in a specific way --> ### Changelog notice - Bump `actions/upload-artifact` to `v4`. - Bump `actions/checkout` to `v4`. <!-- Notice the release manager should include in the release tag message changelog --> <!-- See https://keepachangelog.com/en/1.0.0/ for examples --> ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing ACKs for top commit: ValuedMammal: ACK 7321a5d evanlinjin: ACK 7321a5d Tree-SHA512: ac00626633fdfad2cca88e971fa953c71ed3363b68a87351677d0737891eca782c08705ec355c00778211024bcc28791adb66c1e17a5f8d2487fd601a75965de
2 parents e4a23af + 7321a5d commit 53db518

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.github/workflows/code_coverage.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
- name: Install lcov tools
1818
run: sudo apt-get install lcov -y
1919
- name: Install rustup
@@ -38,24 +38,17 @@ jobs:
3838
- name: Install grcov
3939
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
4040
- name: Test
41-
# WARNING: this is not testing the following features: test-esplora, test-hardware-signer, async-interface
42-
# This is because some of our features are mutually exclusive, and generating various reports and
43-
# merging them doesn't seem to be working very well.
44-
# For more info, see:
45-
# - https://github.com/bitcoindevkit/bdk/issues/696
46-
# - https://github.com/bitcoindevkit/bdk/pull/748#issuecomment-1242721040
4741
run: cargo test -- --test-threads=1
4842
- name: Run grcov
4943
run: mkdir coverage; grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o ./coverage/lcov.info
5044
- name: Generate HTML coverage report
5145
run: genhtml -o coverage-report.html ./coverage/lcov.info
52-
5346
- name: Coveralls upload
5447
uses: coverallsapp/github-action@master
5548
with:
5649
github-token: ${{ secrets.GITHUB_TOKEN }}
5750
- name: Upload artifact
58-
uses: actions/upload-artifact@v2
51+
uses: actions/upload-artifact@v4
5952
with:
6053
name: coverage-report
6154
path: coverage-report.html

.github/workflows/cont_integration.yml

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
cargo update -p home --precise 0.5.5
6060
cargo update -p url --precise "2.5.0"
6161
cargo update -p tokio --precise "1.38.1"
62+
cargo update -p tokio-util --precise "0.7.11"
6263
- name: Build
6364
run: cargo build --features ${{ matrix.features }} --no-default-features
6465
- name: Test

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ cargo update -p time --precise "0.3.20"
2424
cargo update -p home --precise 0.5.5
2525
cargo update -p url --precise "2.5.0"
2626
cargo update -p tokio --precise "1.38.1"
27+
cargo update -p tokio-util --precise "0.7.11"
2728
```

0 commit comments

Comments
 (0)