aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/rust.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/rust.yml')
-rw-r--r--.github/workflows/rust.yml67
1 files changed, 0 insertions, 67 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
deleted file mode 100644
index 18ac596..0000000
--- a/.github/workflows/rust.yml
+++ /dev/null
@@ -1,67 +0,0 @@
1name: Rust
2
3on: [push, pull_request]
4
5env:
6 CARGO_TERM_COLOR: always
7
8jobs:
9 check:
10 name: Check
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v2
14 - uses: actions-rs/toolchain@v1
15 with:
16 profile: minimal
17 toolchain: nightly
18 override: true
19 - uses: actions-rs/cargo@v1
20 with:
21 command: check
22
23 test:
24 name: Test Suite
25 runs-on: ubuntu-latest
26 steps:
27 - uses: actions/checkout@v2
28 - uses: actions-rs/toolchain@v1
29 with:
30 profile: minimal
31 toolchain: nightly
32 override: true
33 - uses: actions-rs/cargo@v1
34 with:
35 command: test
36
37 fmt:
38 name: Rustfmt
39 runs-on: ubuntu-latest
40 steps:
41 - uses: actions/checkout@v2
42 - uses: actions-rs/toolchain@v1
43 with:
44 profile: minimal
45 toolchain: nightly
46 override: true
47 - run: rustup component add rustfmt
48 - uses: actions-rs/cargo@v1
49 with:
50 command: fmt
51 args: --all -- --check
52
53 clippy:
54 name: Clippy
55 runs-on: ubuntu-latest
56 steps:
57 - uses: actions/checkout@v2
58 - uses: actions-rs/toolchain@v1
59 with:
60 profile: minimal
61 toolchain: nightly
62 override: true
63 - run: rustup component add clippy
64 - uses: actions-rs/cargo@v1
65 with:
66 command: clippy
67 args: -- -D warnings