There was an error while loading. Please reload this page.
1 parent 25ebd0e commit 3967be5Copy full SHA for 3967be5
1 file changed
.github/workflows/rust.yml
@@ -0,0 +1,26 @@
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@v4
19
+ - name: Build
20
+ run: cargo build --verbose
21
+ - name: Run tests
22
+ run: cargo test --verbose
23
+ - name: Lint
24
+ run: cargo clippy --workspace --all-targets -- --deny clippy::all --deny clippy::pedantic --deny clippy::nursery
25
+ - name: Format
26
+ run: cargo fmt --check
0 commit comments