Skip to content

Commit eb947fc

Browse files
committed
ci: with msrv 1.75 pin minreq to 2.13.2
1 parent efc5fc5 commit eb947fc

File tree

3 files changed

+19
-52
lines changed

3 files changed

+19
-52
lines changed

.github/workflows/cont_integration.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ jobs:
4343
cargo update
4444
- name: If Rust 1.75 pin dependencies
4545
if: matrix.rust == '1.75.0'
46-
run: |
47-
cargo update -p home --precise "0.5.9"
48-
cargo update -p native-tls --precise "0.2.13"
49-
cargo update -p idna_adapter --precise "1.1.0"
46+
run: ./ci/pin-msrv.sh
5047
- name: Build
5148
run: cargo build ${{ matrix.features }}
5249
- name: Clippy

ci/pin-msrv.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
set -x
4+
set -euo pipefail
5+
6+
# Pin dependencies for MSRV
7+
8+
# To pin deps, switch toolchain to MSRV and execute the below updates
9+
10+
# cargo clean
11+
# rustup override set 1.75.0
12+
# rm Cargo.lock
13+
# cargo update
14+
15+
cargo update -p home --precise "0.5.9"
16+
cargo update -p native-tls --precise "0.2.13"
17+
cargo update -p idna_adapter --precise "1.1.0"
18+
cargo update -p minreq --precise "2.13.2"

ci/test_features.sh

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)