Skip to content

Commit 9ea87c7

Browse files
committed
Add MSRV 1.63.0 to Github CI
1 parent 616e772 commit 9ea87c7

File tree

3 files changed

+49
-56
lines changed

3 files changed

+49
-56
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,40 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
toolchain: [ stable ]
9+
platform: [
10+
ubuntu-latest,
11+
macos-latest,
12+
]
13+
toolchain:
14+
[ stable,
15+
beta,
16+
1.63.0, # MSRV
17+
]
1018
include:
1119
- toolchain: stable
1220
check-fmt: true
13-
runs-on: ubuntu-latest
21+
- toolchain: 1.63.0
22+
msrv: true
23+
runs-on: ${{ matrix.platform }}
1424
steps:
1525
- name: Checkout source code
1626
uses: actions/checkout@v3
1727
- name: Install Rust ${{ matrix.toolchain }} toolchain
1828
run: |
1929
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
2030
rustup override set ${{ matrix.toolchain }}
21-
- name: Build on Rust ${{ matrix.toolchain }}
22-
run: cargo build --verbose --color always
2331
- name: Check formatting
2432
if: matrix.check-fmt
2533
run: rustup component add rustfmt && cargo fmt --all -- --check
34+
- name: Pin packages to allow for MSRV
35+
if: matrix.msrv
36+
run: |
37+
cargo update -p hashlink --precise "0.8.2" --verbose # hashlink 0.8.3 requires hashbrown 0.14, requiring 1.64.0
38+
cargo update -p regex --precise "1.9.6" --verbose # regex 1.10.0 requires rustc 1.65.0
39+
cargo update -p home --precise "0.5.5" --verbose # home v0.5.9 requires rustc 1.70 or newer
40+
cargo update -p tokio --precise "1.38.1" --verbose # tokio v1.39.0 requires rustc 1.70 or newer
41+
- name: Build on Rust ${{ matrix.toolchain }}
42+
run: cargo build --verbose --color always
2643
- name: Test on Rust ${{ matrix.toolchain }}
2744
run: cargo test
2845
- name: Cargo check release on Rust ${{ matrix.toolchain }}

Cargo.lock

Lines changed: 27 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ hyper = { version = "1", default-features = false, features = ["server", "http1"
1111
http-body-util = { version = "0.1", default-features = false }
1212
hyper-util = { version = "0.1", default-features = false, features = ["server-graceful"] }
1313
tokio = { version = "1.38.0", default-features = false, features = ["time", "signal", "rt-multi-thread"] }
14-
prost = { version = "0.12.3", default-features = false, features = ["derive", "std"] }
14+
prost = { version = "0.11.6", default-features = false, features = ["std"] }

0 commit comments

Comments
 (0)