Skip to content

Check CI build with 1.63.0 as MSRV #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ jobs:
build:
strategy:
matrix:
toolchain: [ stable, beta ]
toolchain: [ stable, beta, 1.63.0 ] # 1.63.0 is current MSRV for vss-client
include:
- toolchain: stable
check-fmt: true
- toolchain: 1.63.0
msrv: true
runs-on: ubuntu-latest
steps:
- name: Checkout source code
Expand All @@ -20,6 +22,12 @@ jobs:
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
rustup override set ${{ matrix.toolchain }}
- name: Pin packages to allow for MSRV
if: matrix.msrv
run: |
cargo update -p proptest --precise "1.2.0" --verbose # proptest 1.3.0 requires rustc 1.64.0
cargo update -p regex --precise "1.9.6" --verbose # regex 1.10.0 requires rustc 1.65.0
cargo update -p tokio --precise "1.38.1" --verbose # tokio v1.39.0 requires rustc 1.70 or newer
- name: Build on Rust ${{ matrix.toolchain }}
run: cargo build --verbose --color always
- name: Check formatting
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "vss-client"
version = "0.2.2"
rust-version = "1.63.0"
license = "MIT OR Apache-2.0"
edition = "2021"
homepage = "https://lightningdevkit.org/"
Expand Down Expand Up @@ -34,6 +35,6 @@ prost-build = { version = "0.11.3" }
reqwest = { version = "0.11.13", default-features = false, features = ["rustls-tls", "blocking"] }

[dev-dependencies]
mockito = "0.31.1"
mockito = "0.28.0"
proptest = "1.1.0"
tokio = { version = "1.22.0", features = ["macros"]}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ simplify the development process for Lightning wallets by providing a secure mea
and manage the essential state required for Lightning Network (LN) operations.

Learn more [here](https://github.com/lightningdevkit/vss-server/blob/main/README.md).

## MSRV
The Minimum Supported Rust Version (MSRV) is currently 1.63.0.
Loading