-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (29 loc) · 850 Bytes
/
Copy pathci.yml
File metadata and controls
32 lines (29 loc) · 850 Bytes
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cargo check --verbose
- run: cargo clippy
- run: cargo test --verbose
- run: cargo test --examples
- run: cargo test --doc
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install cargo-msrv
# cargo-msrv 0.15.1 no longer builds reliably with an unlocked dependency
# graph because indicatif 0.16.2 can now resolve console 0.16.x without
# the std feature. Installing with --locked keeps the crate's published
# dependency set stable in CI.
run: cargo install --locked cargo-msrv --version 0.15.1
- run: cargo msrv verify