1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# CI disabled: no GitLab CI/CD credits available on this plan. Jobs below are
# kept intact — remove this workflow block to re-enable pipelines.
workflow:
rules:
- when: never
image: rust:latest
stages:
- test
- lint
- coverage
- msrv
variables:
CARGO_INCREMENTAL: "0"
cache:
key:
files:
- Cargo.lock
prefix: v1
paths:
- target/
- .cargo/
test:
stage: test
script:
- cargo test
- cargo test --all-features
clippy:
stage: lint
before_script:
- rustup component add clippy
script:
- cargo clippy -- -D warnings
- cargo clippy --all-features -- -D warnings
coverage:
stage: coverage
before_script:
- cargo install cargo-llvm-cov
script:
- cargo llvm-cov --all-features --fail-under-lines 80
# Docker-free build-only check that mini-docs's declared MSRV (Cargo.toml
# rust-version) actually compiles — verified locally by bisecting toolchains:
# 1.75/1.85/1.86 all fail (tera 2.1.0 needs stabilized let-chains, a 1.88 feature;
# 1.86 also isn't enough on its own once ammonia's icu_* transitive deps are pulled
# in). Pinned to a specific image tag, not `rust:latest`, since this job's entire
# point is proving the floor, not the ceiling.
msrv:
stage: msrv
image: rust:1.88-slim
script:
- cargo check --all-features