77 branches : [ master ]
88
99env :
10+ CARGO_INCREMENTAL : 0
1011 CARGO_TERM_COLOR : always
12+ RUST_BACKTRACE : 1
13+ RUSTFLAGS : -D warnings
14+ RUSTDOCFLAGS : -D warnings --cfg docsrs
1115
1216jobs :
1317 build :
@@ -20,28 +24,50 @@ jobs:
2024 - nightly
2125 steps :
2226 - uses : actions/checkout@v2
23- - name : Install latest nightly
27+ - name : Install toolchain
2428 uses : actions-rs/toolchain@v1
2529 with :
2630 toolchain : ${{ matrix.rust }}
2731 override : true
2832 - name : Build
2933 run : cargo build --verbose
30- - name : Run tests
31- run : cargo test --verbose
34+ - name : Run tests with all features
35+ run : cargo test --all-features -- verbose
3236 - name : Run tests without features
33- run : cargo test --verbose -- no-default-features
37+ run : cargo test --no-default-features --verbose
3438 - name : Package
3539 run : cargo package
3640 - name : Test package
3741 run : cd $(find target/package/ -maxdepth 1 -mindepth 1 -type d) && cargo test
3842 - name : Test package without features
3943 run : cd $(find target/package/ -maxdepth 1 -mindepth 1 -type d) && cargo test --no-default-features
44+ - name : Build docs
45+ if : matrix.rust == 'nightly'
46+ run : cargo doc --all-features --verbose
47+ - name : Check formatting
48+ if : matrix.rust == 'stable'
49+ run : cargo fmt --all --check
50+ - name : Check clippy
51+ if : matrix.rust == 'stable'
52+ run : cargo clippy --all-features --all --verbose
53+ msrv :
54+ runs-on : ubuntu-latest
55+ steps :
56+ - uses : actions/checkout@v2
57+ - name : Install msrv toolchain
58+ uses : actions-rs/toolchain@v1
59+ with :
60+ toolchain : 1.36
61+ override : true
62+ - name : Build
63+ run : cargo build --verbose --all-features
4064 regen :
4165 runs-on : ubuntu-latest
4266 steps :
4367 - uses : actions/checkout@v3
4468 - name : Regen
4569 run : cd scripts && python3 unicode.py
46- - name : Diff
70+ - name : Diff tables
4771 run : diff src/tables.rs scripts/tables.rs
72+ - name : Diff tests
73+ run : diff tests/data/normalization_tests.rs scripts/normalization_tests.rs
0 commit comments