17
17
18
18
build-test :
19
19
needs : prepare
20
- name : Build and test
20
+ name : Build & Test
21
21
runs-on : ubuntu-latest
22
22
strategy :
23
23
matrix :
@@ -40,36 +40,20 @@ jobs:
40
40
profile : minimal
41
41
- name : Rust Cache
42
42
43
- - name : Pin dependencies for MSRV
43
+ - name : Pin dependencies for 1.75
44
+ if : matrix.rust.version == '1.75.0'
44
45
run : |
45
- if [ "${{matrix.rust.version}}" = '1.63.0' ]; then
46
- cargo update -p zstd-sys --precise "2.0.8+zstd.1.5.5"
47
- cargo update -p time --precise "0.3.20"
48
- cargo update -p home --precise "0.5.5"
49
- cargo update -p proptest --precise "1.2.0"
50
- cargo update -p url --precise "2.5.0"
51
- cargo update -p cc --precise "1.0.105"
52
- cargo update -p tokio --precise "1.38.1"
53
- cargo update -p tokio-util --precise "0.7.11"
54
- cargo update -p indexmap --precise "2.5.0"
55
- cargo update -p security-framework-sys --precise "2.11.1"
56
- cargo update -p csv --precise "1.3.0"
57
- cargo update -p unicode-width --precise "0.1.13"
58
- elif [ "${{matrix.rust.version}}" = '1.75.0' ]; then
59
- cargo update -p home --precise "0.5.9"
60
- fi
61
- - name : Build
46
+ cargo update -p home --precise "0.5.9"
47
+ - name : Pin dependencies for MSRV
48
+ if : matrix.rust.version == '1.63.0'
49
+ run : ./ci/pin-msrv.sh
50
+ - name : Build + Test
62
51
run : |
63
52
if [ "${{matrix.rust.version}}" = '1.63.0' ]; then
64
53
cargo build --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }}
65
- else
66
- cargo build --workspace --exclude 'example_*' ${{ matrix.features }}
67
- fi
68
- - name : Test
69
- run : |
70
- if [ "${{matrix.rust.version}}" = '1.63.0' ]; then
71
54
cargo test --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }}
72
55
else
56
+ cargo build --workspace --exclude 'example_*' ${{ matrix.features }}
73
57
cargo test --workspace --exclude 'example_*' ${{ matrix.features }}
74
58
fi
75
59
@@ -151,6 +135,7 @@ jobs:
151
135
152
136
clippy_check :
153
137
needs : prepare
138
+ name : Rust clippy
154
139
runs-on : ubuntu-latest
155
140
permissions :
156
141
checks : write
0 commit comments