aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/msrv-rust-toolchain.toml
diff options
context:
space:
mode:
authorMichael Davis2022-05-22 02:27:08 +0000
committerBlaž Hrastnik2022-05-23 16:05:19 +0000
commit92df5a542509e49a5ff71087b65fca2a17d5d25e (patch)
tree430db02d67c612bf1f38f5c2a8238c244155da60 /.github/workflows/msrv-rust-toolchain.toml
parentaa87adf54b0b8dec07baa257aed71d09c3efb119 (diff)
check MSRV in CI
It's very easy to use new rust features without realizing it since the CI and local development workflows may use the latest rust version. We try to keep some backwards compatibility with rust versions to make packaging easier for some OS-level package-managers like Void Linux's. See #1881. This change runs the "Check" step for the pinned version of rust in the rust-toolchain.toml file as well as the MSRV version in a matrix. In order to bump the MSRV, we need to edit .github/workflows/msrv-rust-toolchain.toml This commit sets the MSRV as 1.60.0 but a later child commit will reduce the MSRV back to 1.57.0. Closes #2482.
Diffstat (limited to '.github/workflows/msrv-rust-toolchain.toml')
-rw-r--r--.github/workflows/msrv-rust-toolchain.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/msrv-rust-toolchain.toml b/.github/workflows/msrv-rust-toolchain.toml
new file mode 100644
index 00000000..958edb45
--- /dev/null
+++ b/.github/workflows/msrv-rust-toolchain.toml
@@ -0,0 +1,3 @@
+[toolchain]
+channel = "1.60.0"
+components = ["rustfmt", "rust-src"]