Skip to content

Commit 4b42108

Browse files
committed
ci: add test with MSRV 1.63.0
1 parent 1899234 commit 4b42108

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/cont_integration.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ on: [push, pull_request]
33
name: CI
44

55
jobs:
6-
76
test-fmt:
87
name: Test
98
runs-on: ubuntu-20.04
109
env:
1110
TEST_ELECTRUM_SERVER: electrum.blockstream.info:50001
1211
#TEST_ELECTRUM_SERVER: bitcoin.aranguren.org:50001
12+
strategy:
13+
matrix:
14+
rust:
15+
- stable # STABLE
16+
- 1.63.0 # MSRV
1317
steps:
1418
- name: Checkout
1519
uses: actions/checkout@v2
@@ -24,7 +28,7 @@ jobs:
2428
- name: Install rustup
2529
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
2630
- name: Set default toolchain
27-
run: $HOME/.cargo/bin/rustup default stable
31+
run: $HOME/.cargo/bin/rustup default ${{ matrix.rust }}
2832
- name: Set profile
2933
run: $HOME/.cargo/bin/rustup set profile minimal
3034
- name: Fmt

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ documentation = "https://docs.rs/electrum-client/"
99
description = "Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers."
1010
keywords = ["bitcoin", "electrum"]
1111
readme = "README.md"
12+
rust-version = "1.63.0"
1213

1314
# loosely based on https://github.com/evgeniy-scherbina/rust-electrumx-client
1415

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# rust-electrum-client [![Build Status]][GitHub Workflow] [![Latest Version]][crates.io]
1+
# rust-electrum-client
2+
[![Build Status]][GitHub Workflow] [![Latest Version]][crates.io] [![MSRV Badge]][Rust Blog]
23

34
[Build Status]: https://github.com/bitcoindevkit/rust-electrum-client/actions/workflows/cont_integration.yml/badge.svg
45
[GitHub Workflow]: https://github.com/bitcoindevkit/rust-electrum-client/actions?query=workflow%3ACI
56
[Latest Version]: https://img.shields.io/crates/v/electrum-client.svg
67
[crates.io]: https://crates.io/crates/electrum-client
8+
[MSRV Badge]: https://img.shields.io/badge/rustc-1.63.0%2B-lightgrey.svg
9+
[Rust Blog]: https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html
710

811
Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.

0 commit comments

Comments
 (0)