8000 Check MSRV in CI · unicode-rs/unicode-normalization@2506b5b · GitHub
[go: up one dir, main page]

Skip to content

Commit 2506b5b

Browse files
Check MSRV in CI
And add it to `Cargo.toml`
1 parent 7eac2f3 commit 2506b5b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/rust.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ jobs:
3737
run: cd $(find target/package/ -maxdepth 1 -mindepth 1 -type d) && cargo test
3838
- name: Test package without features
3939
run: cd $(find target/package/ -maxdepth 1 -mindepth 1 -type d) && cargo test --no-default-features
40+
msrv:
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v2
44+
- name: Install msrv toolchain
45+
uses: actions-rs/toolchain@v1
46+
with:
47+
toolchain: 1.36
48+
override: true
49+
- name: Build
50+
run: cargo build --verbose --all-features
4051
regen:
4152
runs-on: ubuntu-latest
4253
steps:

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Decomposition and Recomposition, as described in
1818
Unicode Standard Annex #15.
1919
"""
2020

21+
rust-version = "1.36"
22+
2123
edition = "2018"
2224

2325
exclude = [ "target/*", "Cargo.lock", "scripts/tmp", "*.txt", "tests/*" ]

0 commit comments

Comments
 (0)
0