Skip to content

Commit 62250fe

Browse files
ValuedMammalevanlinjin
authored andcommitted
ci: update for rust 1.63.0
1 parent 9bdd0b1 commit 62250fe

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@ jobs:
1414
strategy:
1515
matrix:
1616
rust:
17-
- toolchain: stable
18-
- toolchain: 1.63.0
17+
- version: stable
18+
- version: 1.63.0
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Install Rust
2222
uses: dtolnay/rust-toolchain@v1
2323
with:
2424
toolchain: ${{ matrix.rust.toolchain }}
25+
- name: Pin dependencies for MSRV
26+
if: matrix.rust.version == '1.63.0'
27+
run: ./ci/pin-msrv.sh
2528
- name: Test
2629
run: cargo test --no-fail-fast --all-features
2730

ci/pin-msrv.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
3+
set -x
4+
set -euo pipefail
5+
6+
# Script to pin dependencies for MSRV
7+
8+
# cargo clean
9+
10+
# rm -f Cargo.lock
11+
12+
# rustup default 1.63.0
13+
14+
cargo update -p zstd-sys --precise "2.0.8+zstd.1.5.5"
15+
cargo update -p time --precise "0.3.20"
16+
cargo update -p home --precise "0.5.5"
17+
cargo update -p flate2 --precise "1.0.35"
18+
cargo update -p once_cell --precise "1.20.3"
19+
cargo update -p bzip2-sys --precise "0.1.12"
20+
cargo update -p ring --precise "0.17.12"
21+
cargo update -p once_cell --precise "1.20.3"
22+
cargo update -p base64ct --precise "1.6.0"
23+
cargo update -p minreq --precise "2.13.2"

0 commit comments

Comments
 (0)