File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 20
20
distribution : temurin
21
21
java-version : 11
22
22
23
- - name : Set default Rust version to 1.73.0
24
- run : rustup default 1.73.0
23
+ - name : Set default Rust version to stable
24
+ run : rustup default stable
25
25
26
26
- name : Show default version of NDK
27
27
run : echo $ANDROID_NDK_ROOT
Original file line number Diff line number Diff line change @@ -39,14 +39,17 @@ jobs:
39
39
run : |
40
40
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
41
41
rustup override set ${{ matrix.toolchain }}
42
+ - name : Check formatting on Rust ${{ matrix.toolchain }}
43
+ if : matrix.check-fmt
44
+ run : rustup component add rustfmt && cargo fmt --all -- --check
42
45
- name : Pin packages to allow for MSRV
43
46
if : matrix.msrv
44
47
run : |
45
48
cargo update -p hashlink --precise "0.8.2" --verbose # hashlink 0.8.3 requires hashbrown 0.14, requiring 1.64.0
46
49
cargo update -p proptest --precise "1.2.0" --verbose # proptest 1.3.0 requires rustc 1.64.0
47
- cargo update -p reqwest --precise "0.11.20" --verbose # reqwest 0.11.21 broke 1.63.0 MSRV
48
50
cargo update -p regex --precise "1.9.6" --verbose # regex 1.10.0 requires rustc 1.65.0
49
51
cargo update -p home --precise "0.5.5" --verbose # home v0.5.9, requires rustc 1.70 or newer
52
+ cargo update -p ahash@0.8.8 --precise "0.8.6" --verbose # ahash v0.8.7 is broken and v0.8.8 requires rustc 1.72.0
50
53
- name : Set RUSTFLAGS to deny warnings
51
54
if : " matrix.toolchain == 'stable'"
52
55
run : echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"
80
83
if : " matrix.platform != 'windows-latest' && matrix.build-uniffi"
81
84
run : |
82
85
RUSTFLAGS="--cfg no_download" cargo test --features uniffi
83
- - name : Check formatting on Rust ${{ matrix.toolchain }}
84
- if : matrix.check-fmt
85
- run : rustup component add rustfmt && cargo fmt --all -- --check
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ use lightning::chain::chaininterface::{
8
8
use bdk:: FeeRate ;
9
9
use esplora_client:: AsyncClient as EsploraClient ;
10
10
11
- use bitcoin:: Network ;
12
11
use bitcoin:: blockdata:: weight:: Weight ;
12
+ use bitcoin:: Network ;
13
13
14
14
use std:: collections:: HashMap ;
15
15
use std:: ops:: Deref ;
You can’t perform that action at this time.
0 commit comments