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 214ff66 commit d7e75ddCopy full SHA for d7e75dd
1 file changed
.github/workflows/rust.yml
@@ -0,0 +1,30 @@
1
+name: Rust
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Rust nightly
17
+ uses: actions-rs/toolchain@v1
18
+ with:
19
+ profile: minimal
20
+ toolchain: nightly
21
+ components: clippy, rustfmt
22
+ override: true
23
+ - name: Build
24
+ run: cargo build --verbose
25
+ - name: Check formatting # Doesn't fail build
26
+ run: cargo fmt -- --check # --error-on-unformatted
27
+ - name: Run tests # Doesn't fail build
28
+ run: cargo clippy
29
+ - name: Run tests
30
+ run: cargo test --verbose
0 commit comments