Skip to content

Commit 8c1d55a

Browse files
committed
actions-based CI
1 parent 9958c45 commit 8c1d55a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
msrv:
7+
name: Rust MSRV
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: dtolnay/[email protected]
12+
- run: cargo check --no-default-features
13+
- run: cargo check --no-default-features --features "use_alloc"
14+
- run: cargo check
15+
16+
stable:
17+
name: Rust Stable
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: dtolnay/rust-toolchain@stable
22+
- run: cargo check --no-default-features
23+
- run: cargo check --no-default-features --features "use_alloc"
24+
- run: cargo test

0 commit comments

Comments
 (0)