Skip to content

Commit 894b020

Browse files
authored
Merge pull request #19 from G8XSU/msrv-ci
Check CI build with 1.63.0 as MSRV
2 parents 52c1885 + 3b093a4 commit 894b020

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
toolchain: [ stable, beta ]
9+
toolchain: [ stable, beta, 1.63.0 ] # 1.63.0 is current MSRV for vss-client
1010
include:
1111
- toolchain: stable
1212
check-fmt: true
13+
- toolchain: 1.63.0
14+
msrv: true
1315
runs-on: ubuntu-latest
1416
steps:
1517
- name: Checkout source code
@@ -20,6 +22,12 @@ jobs:
2022
run: |
2123
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
2224
rustup override set ${{ matrix.toolchain }}
25+
- name: Pin packages to allow for MSRV
26+
if: matrix.msrv
27+
run: |
28+
cargo update -p proptest --precise "1.2.0" --verbose # proptest 1.3.0 requires rustc 1.64.0
29+
cargo update -p regex --precise "1.9.6" --verbose # regex 1.10.0 requires rustc 1.65.0
30+
cargo update -p tokio --precise "1.38.1" --verbose # tokio v1.39.0 requires rustc 1.70 or newer
2331
- name: Build on Rust ${{ matrix.toolchain }}
2432
run: cargo build --verbose --color always
2533
- name: Check formatting

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[package]
22
name = "vss-client"
33
version = "0.2.2"
4+
rust-version = "1.63.0"
45
license = "MIT OR Apache-2.0"
56
edition = "2021"
67
homepage = "https://lightningdevkit.org/"
@@ -34,6 +35,6 @@ prost-build = { version = "0.11.3" }
3435
reqwest = { version = "0.11.13", default-features = false, features = ["rustls-tls", "blocking"] }
3536

3637
[dev-dependencies]
37-
mockito = "0.31.1"
38+
mockito = "0.28.0"
3839
proptest = "1.1.0"
3940
tokio = { version = "1.22.0", features = ["macros"]}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ simplify the development process for Lightning wallets by providing a secure mea
77
and manage the essential state required for Lightning Network (LN) operations.
88

99
Learn more [here](https://github.com/lightningdevkit/vss-server/blob/main/README.md).
10+
11+
## MSRV
12+
The Minimum Supported Rust Version (MSRV) is currently 1.63.0.

0 commit comments

Comments
 (0)