Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit 96b2254

Browse files
authored
Merge pull request #15 from tcharding/07-18-ci-add-msrv
CI: Add a MSRV job
2 parents d103464 + 8ef1064 commit 96b2254

File tree

3 files changed

+42
-18
lines changed

3 files changed

+42
-18
lines changed

.github/workflows/rust.yaml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: read_toolchain
2121
run: echo "nightly_version=$(cat nightly-version)" >> $GITHUB_OUTPUT
2222

23-
Stable: # 2 jobs, one per manifest.
23+
Stable: # 2 jobs, one per lock file.
2424
name: Test - stable toolchain
2525
runs-on: ubuntu-latest
2626
strategy:
@@ -43,7 +43,7 @@ jobs:
4343
- name: "Run test script"
4444
run: ./maintainer-tools/ci/run_task.sh stable
4545

46-
Nightly: # 2 jobs, one per manifest.
46+
Nightly: # 2 jobs, one per lock file.
4747
name: Test - nightly toolchain
4848
needs: Prepare
4949
runs-on: ubuntu-latest
@@ -69,6 +69,30 @@ jobs:
6969
- name: "Run test script"
7070
run: ./maintainer-tools/ci/run_task.sh nightly
7171

72+
MSRV: # 2 jobs, one per lock file.
73+
name: Test - 1.56.1 toolchain
74+
runs-on: ubuntu-latest
75+
strategy:
76+
fail-fast: false
77+
matrix:
78+
dep: [minimal, recent]
79+
steps:
80+
- name: "Checkout repo"
81+
uses: actions/checkout@v4
82+
- name: "Checkout maintainer tools"
83+
uses: actions/checkout@v4
84+
with:
85+
repository: rust-bitcoin/rust-bitcoin-maintainer-tools
86+
path: maintainer-tools
87+
- name: "Select toolchain"
88+
uses: dtolnay/rust-toolchain@stable
89+
with:
90+
toolchain: "1.56.1"
91+
- name: "Set dependencies"
92+
run: cp Cargo-${{ matrix.dep }}.lock Cargo.lock
93+
- name: "Run test script"
94+
run: ./maintainer-tools/ci/run_task.sh msrv
95+
7296
Lint:
7397
name: Lint - nightly toolchain
7498
needs: Prepare

Cargo-minimal.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ dependencies = [
108108

109109
[[package]]
110110
name = "cc"
111-
version = "1.0.98"
111+
version = "1.0.28"
112112
source = "registry+https://github.com/rust-lang/crates.io-index"
113-
checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f"
113+
checksum = "bb4a8b715cb4597106ea87c7c84b2f1d452c7492033765df7f32651e66fcf749"
114114

115115
[[package]]
116116
name = "hex-conservative"
@@ -147,9 +147,9 @@ dependencies = [
147147

148148
[[package]]
149149
name = "log"
150-
version = "0.4.21"
150+
version = "0.4.18"
151151
source = "registry+https://github.com/rust-lang/crates.io-index"
152-
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
152+
checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de"
153153

154154
[[package]]
155155
name = "minreq"
@@ -239,9 +239,9 @@ dependencies = [
239239

240240
[[package]]
241241
name = "syn"
242-
version = "2.0.66"
242+
version = "2.0.56"
243243
source = "registry+https://github.com/rust-lang/crates.io-index"
244-
checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5"
244+
checksum = "6e2415488199887523e74fd9a5f7be804dfd42d868ae0eca382e3917094d210e"
245245
dependencies = [
246246
"proc-macro2",
247247
"quote",
@@ -250,6 +250,6 @@ dependencies = [
250250

251251
[[package]]
252252
name = "unicode-ident"
253-
version = "1.0.12"
253+
version = "1.0.8"
254254
source = "registry+https://github.com/rust-lang/crates.io-index"
255-
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
255+
checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"

Cargo-recent.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ dependencies = [
108108

109109
[[package]]
110110
name = "cc"
111-
version = "1.0.98"
111+
version = "1.0.28"
112112
source = "registry+https://github.com/rust-lang/crates.io-index"
113-
checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f"
113+
checksum = "bb4a8b715cb4597106ea87c7c84b2f1d452c7492033765df7f32651e66fcf749"
114114

115115
[[package]]
116116
name = "hex-conservative"
@@ -147,9 +147,9 @@ dependencies = [
147147

148148
[[package]]
149149
name = "log"
150-
version = "0.4.21"
150+
version = "0.4.18"
151151
source = "registry+https://github.com/rust-lang/crates.io-index"
152-
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
152+
checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de"
153153

154154
[[package]]
155155
name = "minreq"
@@ -239,9 +239,9 @@ dependencies = [
239239

240240
[[package]]
241241
name = "syn"
242-
version = "2.0.66"
242+
version = "2.0.56"
243243
source = "registry+https://github.com/rust-lang/crates.io-index"
244-
checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5"
244+
checksum = "6e2415488199887523e74fd9a5f7be804dfd42d868ae0eca382e3917094d210e"
245245
dependencies = [
246246
"proc-macro2",
247247
"quote",
@@ -250,6 +250,6 @@ dependencies = [
250250

251251
[[package]]
252252
name = "unicode-ident"
253-
version = "1.0.12"
253+
version = "1.0.8"
254254
source = "registry+https://github.com/rust-lang/crates.io-index"
255-
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
255+
checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"

0 commit comments

Comments
 (0)