Skip to content

Commit 0e3d115

Browse files
committed
Check CI build with 1.63.0 as MSRV
1 parent 1847112 commit 0e3d115

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
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

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)