From 8e9c801bdd781fdf56046ab1cdff210ce0b163e6 Mon Sep 17 00:00:00 2001 From: DanGould Date: Tue, 28 Nov 2023 13:43:17 -0500 Subject: [PATCH] Test payjoin-cli 1.63.0 msrv --- .github/workflows/rust.yml | 18 +++++++++++++++--- README.md | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 462d0f9bb..ce4dd2fcd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -32,10 +32,10 @@ jobs: cargo update -p tempfile --precise 3.6.0 cargo update -p flate2 --precise 1.0.26 cargo update -p minreq --precise 2.8.0 - cargo update -p rustls --precise 0.20.8 cargo update -p webpki --precise 0.22.2 cargo update -p byteorder --precise 1.4.3 cargo update -p regex --precise 1.9.6 + cargo update -p time --precise 0.3.20 - name: test run: cargo test --verbose --all-features --lib @@ -47,7 +47,7 @@ jobs: strategy: fail-fast: false matrix: - rust: [stable, nightly] + rust: [1.63.0, stable, nightly] steps: - uses: actions/checkout@v2 @@ -56,9 +56,21 @@ jobs: with: toolchain: ${{ matrix.rust }} override: true + - name: Fixes for MSRV + if: matrix.rust == '1.63.0' + run: | + cargo update + cargo update -p log --precise 0.4.18 + cargo update -p tempfile --precise 3.6.0 + cargo update -p flate2 --precise 1.0.26 + cargo update -p minreq --precise 2.8.0 + cargo update -p webpki --precise 0.22.2 + cargo update -p byteorder --precise 1.4.3 + cargo update -p regex --precise 1.9.6 + cargo update -p time --precise 0.3.20 - name: build payjoin cli example run: | - cargo test --verbose --features=local-https + cargo test --verbose --features=danger-local-https fmt: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 143adaf7a..f18b844ba 100644 --- a/README.md +++ b/README.md @@ -81,10 +81,10 @@ cargo update -p log --precise 0.4.18 cargo update -p tempfile --precise 3.6.0 cargo update -p flate2 --precise 1.0.26 cargo update -p minreq --precise 2.8.0 -cargo update -p rustls --precise 0.20.8 cargo update -p webpki --precise 0.22.2 cargo update -p byteorder --precise 1.4.3 cargo update -p regex --precise 1.9.6 +cargo update -p time --precise 0.3.20 ``` The `payjoin-cli` should compile with Rust **stable** MSRV