We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 165d1d6 commit 0ba3413Copy full SHA for 0ba3413
.github/workflows/rust.yml
@@ -0,0 +1,30 @@
1
+name: Build & Test
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+env:
10
+ CARGO_TERM_COLOR: always
11
12
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - name: Build
18
+ run: cargo build --verbose
19
+ - name: Run tests
20
+ run: cargo test --verbose
21
+ clippy:
22
+ name: clippy
23
24
25
26
+ - run: rustup component add clippy
27
+ - uses: actions-rs/cargo@v1
28
+ with:
29
+ command: clippy
30
+ args: --all --lib --tests -- --deny warnings
0 commit comments