Skip to content

Commit 51bae44

Browse files
authored
docs: Update the readme MSRV to the actual number (#1331)
Add CI job to make sure it stays up to date
1 parent 3235b0c commit 51bae44

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,5 +226,6 @@ jobs:
226226
steps:
227227
- uses: actions/checkout@v5
228228
- name: Verify that Prost version is up to date in README
229-
working-directory: prost
230229
run: grep -q "$(sed '/^version = /!d' Cargo.toml | head -n1)" README.md
230+
- name: Verify that MSRV version is up to date in README
231+
run: grep -q "supports $(sed -n 's/rust-version = "\(.*\)"/\1/p' Cargo.toml)\." README.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ See the [snazzy repository][snazzy] for a simple start-to-finish example.
4646

4747
### MSRV
4848

49-
`prost` follows the `tokio-rs` project's MSRV model and supports 1.70. For more
49+
`prost` follows the `tokio-rs` project's MSRV model and supports 1.71.1. For more
5050
information on the tokio msrv policy you can check it out [here][tokio msrv]
5151

5252
[tokio msrv]: https://github.com/tokio-rs/tokio/#supported-rust-versions

0 commit comments

Comments
 (0)