Skip to content

Commit a09f0a0

Browse files
authored
Update ci.yml
1 parent 47d2835 commit a09f0a0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,28 @@ jobs:
3333

3434
- name: Checkout
3535
uses: actions/checkout@v2
36+
37+
- name: Install Rust
38+
uses: actions-rs/toolchain@v1
39+
with:
40+
toolchain: nightly-2020-11-09
41+
override: true
42+
components: rustfmt, clippy
43+
44+
- uses: actions-rs/cargo@v1
45+
with:
46+
command: fmt
47+
args: --all -- --check
48+
49+
- uses: actions-rs/cargo@v1
50+
with:
51+
command: clippy
52+
53+
- uses: actions-rs/cargo@v1
54+
with:
55+
command: test
56+
args: -- --nocapture
57+
58+
- uses: actions-rs/cargo@v1
59+
with:
60+
command: doc

0 commit comments

Comments
 (0)