We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0632194 commit cd7a923Copy full SHA for cd7a923
2 files changed
.github/workflows/clippy.yml
.github/workflows/rust.yml
@@ -0,0 +1,23 @@
1
+name: Rust CI
2
+on: [push, pull_request]
3
+
4
+jobs:
5
+ build:
6
+ runs-on: ubuntu-latest
7
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Set up Rust
11
+ uses: actions-rs/toolchain@v1
12
+ with:
13
+ toolchain: stable
14
+ profile: minimal
15
+ override: true
16
+ - name: Cache Cargo dependencies
17
+ uses: Swatinem/rust-cache@v2
18
+ - name: Build
19
+ run: cargo build --verbose
20
+ - name: Run tests
21
+ run: cargo test --all-features --verbose
22
+ - name: Run linter
23
+ run: cargo clippy -- -D warnings
0 commit comments