Skip to content

Commit 1152be3

Browse files
committed
Dep pin for msrv
1 parent 960baa6 commit 1152be3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
include:
1111
- toolchain: stable
1212
check-fmt: true
13+
- toolchain: 1.63.0
14+
msrv: true
1315
runs-on: ubuntu-latest
1416
steps:
1517
- name: Checkout source code
@@ -20,6 +22,12 @@ jobs:
2022
run: |
2123
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
2224
rustup override set ${{ matrix.toolchain }}
25+
- name: Pin packages to allow for MSRV
26+
if: matrix.msrv
27+
run: |
28+
cargo update -p regex --precise "1.9.6" --verbose # regex 1.10.0 requires rustc 1.65.0
29+
cargo update -p mio --precise "0.8.11" --verbose # home v0.5.9 requires rustc 1.70 or newer
30+
cargo update -p tokio --precise "1.38.1" --verbose # tokio v1.39.0 requires rustc 1.70 or newer
2331
- name: Build on Rust ${{ matrix.toolchain }}
2432
run: cargo build --verbose --color always
2533
- name: Check formatting

0 commit comments

Comments
 (0)