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 8c9513d commit a4fb5e8Copy full SHA for a4fb5e8
.github/workflows/rust.yml
@@ -0,0 +1,30 @@
1
+name: Rust
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+env:
10
+ CARGO_TERM_COLOR: always
11
12
+jobs:
13
+ build:
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+ - name: Install latest nightly
20
+ uses: actions-rs/toolchain@v1
21
+ with:
22
+ toolchain: nightly
23
+ override: true
24
+ components: rustfmt, clippy
25
+ - name: Build
26
+ working-directory: ./rust
27
+ run: cargo build --verbose
28
+ - name: Run tests
29
30
+ run: cargo test --verbose
0 commit comments